fix menu activation

This commit is contained in:
j 2018-11-13 17:39:06 +00:00
parent 63f298e3e2
commit 810b690a6c

View file

@ -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());
} }