fix(edit) show error message twice

This commit is contained in:
coderaiser 2015-07-20 04:16:21 -04:00
parent aa9b722d38
commit 253dc5224e

View file

@ -81,10 +81,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
if (isDir)
name += '.json';
if (error) {
Images.hide();
Dialog.alert(error);
} else {
if (!error) {
edward.setValueFirst(path, data);
setMsgChanged(name);