mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(edit) show error message twice
This commit is contained in:
parent
aa9b722d38
commit
253dc5224e
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue