diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-30 13:18:34 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-30 13:18:34 +0200 |
commit | adf19a18497a3baa3c7df1d8435998d79897182a (patch) | |
tree | c5cd00d79580c91fe183c5be5c528a54f9fae25b /ui | |
parent | abfdb2a8b6f93607c0791ba91ab616aed6b04772 (diff) | |
download | jquery-ui-adf19a18497a3baa3c7df1d8435998d79897182a.tar.gz jquery-ui-adf19a18497a3baa3c7df1d8435998d79897182a.zip |
Renamed menu event selected to select to be consistent with naming conventions, already updated spec on wiki
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 | ||||
-rw-r--r-- | ui/jquery.ui.menu.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index b4176c038..bd55c1ed4 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -115,7 +115,7 @@ $.widget( "ui.autocomplete", { } } }, - selected: function( event, ui ) { + select: function( event, ui ) { var item = ui.item.data( "item.autocomplete" ); if ( false !== self._trigger( "select", event, { item: item } ) ) { self.element.val( item.value ); diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index b8e1fd410..895a6a806 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -208,7 +208,7 @@ $.widget("ui.menu", { }, select: function( event ) { - this._trigger("selected", event, { item: this.active }); + this._trigger("select", event, { item: this.active }); } }); |