properly disable menu items when switching to annotations (in edits)
This commit is contained in:
parent
658b642887
commit
39c6f03bfa
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ Ox.ClipPanel = function(options, self) {
|
||||||
if (data.id == 'view') {
|
if (data.id == 'view') {
|
||||||
var action = self.options.editable
|
var action = self.options.editable
|
||||||
&& self.options.selected.length
|
&& self.options.selected.length
|
||||||
&& self.options.view != 'annotations'
|
&& data.checked[0].id != 'annotations'
|
||||||
? 'enableItem' : 'disableItem';
|
? 'enableItem' : 'disableItem';
|
||||||
self.options.view = data.checked[0].id;
|
self.options.view = data.checked[0].id;
|
||||||
self.$menu[action]('split');
|
self.$menu[action]('split');
|
||||||
|
|
Loading…
Reference in a new issue