1
0
Fork 0
forked from 0x2620/oxjs

some work towards making the edit annotations menu functional

This commit is contained in:
rlx 2012-02-16 11:35:03 +00:00
commit 8ab8d8d67a
5 changed files with 135 additions and 74 deletions

View file

@ -91,6 +91,7 @@ Ox.MenuButton = function(options, self) {
function hideMenu(data) {
that.loseFocus();
that.removeClass('OxSelected');
that.triggerEvent('hide');
}
function showMenu() {
@ -98,6 +99,7 @@ Ox.MenuButton = function(options, self) {
that.addClass('OxSelected');
self.options.tooltip && that.$tooltip.hide();
self.$menu.showMenu();
that.triggerEvent('show');
}
self.setOption = function(key, value) {