mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(edit) if menu not loaded -> not close
This commit is contained in:
parent
1ce1bfbd37
commit
ad73ca00bb
1 changed files with 3 additions and 1 deletions
|
|
@ -98,7 +98,9 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
CloudCmd.View.show(Element, {
|
||||
beforeClose: function() {
|
||||
isChanged();
|
||||
Menu.hide();
|
||||
|
||||
if (Menu)
|
||||
Menu.hide();
|
||||
},
|
||||
afterShow: focus
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue