aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/multiple-remote.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-22 14:55:41 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-22 14:55:41 -0400
commit860635fd177382be52e981c277b2c7ae33ff7d00 (patch)
treecf723c0e560d94c09e13d1582159577cd00a8b23 /demos/autocomplete/multiple-remote.html
parentfe13fbadd45b59fb67ce6b47c5aea6231596a7c7 (diff)
downloadjquery-ui-860635fd177382be52e981c277b2c7ae33ff7d00.tar.gz
jquery-ui-860635fd177382be52e981c277b2c7ae33ff7d00.zip
Autocomplete: Removed selection handling in IE. No longer needed now that autocomplete ensures that the cursor is placed at the end of the field on select.
Diffstat (limited to 'demos/autocomplete/multiple-remote.html')
-rw-r--r--demos/autocomplete/multiple-remote.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/demos/autocomplete/multiple-remote.html b/demos/autocomplete/multiple-remote.html
index 520505159..0f77e795d 100644
--- a/demos/autocomplete/multiple-remote.html
+++ b/demos/autocomplete/multiple-remote.html
@@ -48,13 +48,6 @@
// add placeholder to get the comma-and-space at the end
terms.push("");
this.value = terms.join(", ");
- if ( document.selection ) {
- this.focus();
- var range = document.selection.createRange();
- range.moveStart( 'character', this.value.length );
- range.moveEnd( 'character', 0 );
- range.select();
- }
return false;
}
});