[PE] Fix Bug 37566
This commit is contained in:
parent
2281bc8b12
commit
aa7e09b311
|
@ -166,7 +166,7 @@ define([
|
|||
args.forEach(function(sub){
|
||||
if (sub instanceof Array )
|
||||
Array.prototype.push.apply(result, sub);
|
||||
else
|
||||
else if (sub)
|
||||
result.push(sub);
|
||||
});
|
||||
|
||||
|
|
|
@ -1963,7 +1963,7 @@ define([
|
|||
var toolbar = this.toolbar;
|
||||
toolbar.$el.find('.toolbar').toggleClass('masked', disable);
|
||||
|
||||
this.toolbar.lockToolbar(PE.enumLock.menuFileOpen, disable, {array: toolbar.btnsAddSlide.concat(toolbar.btnChangeSlide, toolbar.btnPreview, toolbar.btnHide)});
|
||||
this.toolbar.lockToolbar(PE.enumLock.menuFileOpen, disable, {array: toolbar.btnsAddSlide.concat(toolbar.btnChangeSlide, toolbar.btnPreview)});
|
||||
if(disable) {
|
||||
mask = $("<div class='toolbar-mask'>").appendTo(toolbar.$el.find('.toolbar'));
|
||||
Common.util.Shortcuts.suspendEvents('command+k, ctrl+k, alt+h, command+f5, ctrl+f5');
|
||||
|
|
Loading…
Reference in a new issue