fix menu activation
This commit is contained in:
parent
63f298e3e2
commit
810b690a6c
1 changed files with 2 additions and 2 deletions
|
@ -643,7 +643,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
]('join');
|
]('join');
|
||||||
self.$menu[
|
self.$menu[
|
||||||
self.options.selected.length > 0 ? 'enableItem' : 'disableItem'
|
self.options.selected.length > 0 ? 'enableItem' : 'disableItem'
|
||||||
]('replace');
|
]('makeeditable');
|
||||||
}
|
}
|
||||||
self.$list.options({selected: self.options.selected});
|
self.$list.options({selected: self.options.selected});
|
||||||
}
|
}
|
||||||
|
@ -718,7 +718,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
&& self.options.view != 'annotations'
|
&& self.options.view != 'annotations'
|
||||||
? 'enableItem' : 'disableItem'
|
? 'enableItem' : 'disableItem'
|
||||||
]('join');
|
]('join');
|
||||||
self.$menu[action]('replace');
|
self.$menu[action]('makeeditable');
|
||||||
self.$panel.replaceElement(1, self.$list = getList());
|
self.$panel.replaceElement(1, self.$list = getList());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue