r3391 committed - menu: trigger focus event after updating the related item
Revision: 3391
Author: joern.zaefferer
Date: Sun Oct 25 03:34:06 2009
Log: menu: trigger focus event after updating the related item
http://code.google.com/p/jquery-ui/source/detail?r=3391
Modified:
/branches/dev/ui/jquery.ui.menu.js
=======================================
--- /branches/dev/ui/jquery.ui.menu.js Fri Oct 23 09:20:42 2009
+++ /branches/dev/ui/jquery.ui.menu.js Sun Oct 25 03:34:06 2009
@@ -33,8 +33,8 @@
},
activate: function(item) {
- this._trigger("focus", null, { item: item.parent() });
this.activeitem =
item.addClass("ui-state-hover").attr("id", "ui-active-menuitem");
+ this._trigger("focus", null, { item: item.parent() });
},
deactivate: function(item) {