diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-20 20:37:43 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-20 20:37:43 +0100 |
commit | 8a646989606bd4f1e55a7a988e0c2e9d8031b504 (patch) | |
tree | 77cfb5a3ed9f2395d1117225372a947a171ac317 /demos/autocomplete | |
parent | 7cca20daa80a1d68a59ec9bb27fa08361bd03ff7 (diff) | |
parent | aa05861b857f8b47c2260bfabdfa751a2d13a071 (diff) | |
download | jquery-ui-8a646989606bd4f1e55a7a988e0c2e9d8031b504.tar.gz jquery-ui-8a646989606bd4f1e55a7a988e0c2e9d8031b504.zip |
Merge branch 'master' of github.com:jquery/jquery-ui
Diffstat (limited to 'demos/autocomplete')
-rw-r--r-- | demos/autocomplete/categories.html | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index 2340b32f4..bb59bf31e 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -19,29 +19,6 @@ } </style> <script type="text/javascript"> - $.extend( $.ui.menu.prototype, { - next: function() { - this.move("next", ".ui-menu-item:first"); - }, - - previous: function() { - this.move("prev", ".ui-menu-item:last"); - }, - - move: function(direction, edge) { - if (!this.active) { - this.activate(this.element.children(edge)); - return; - } - var next = this.active[direction + "All"]('.ui-menu-item').eq( 0 ); - if (next.length) { - this.activate(next); - } else { - this.activate(this.element.children(edge)); - } - } - }); - $.widget("custom.catcomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var self = this, |