feature(edit) beforeClose: if -> ifExist

This commit is contained in:
coderaiser 2014-10-10 11:03:58 -04:00
parent b17682fb6e
commit 5b46d4a66c

View file

@ -30,9 +30,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
ConfigView = {
beforeClose: function() {
isChanged();
if (Menu)
Menu.hide();
Util.exec.ifExist(Menu, 'hide');
},
afterShow: function() {
Ace.clearSelection();