forked from 0x2620/oxjs
some work towards making the edit annotations menu functional
This commit is contained in:
parent
1ea9524cb1
commit
8ab8d8d67a
5 changed files with 135 additions and 74 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue