mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(edit) rm "nothing to save"
This commit is contained in:
parent
7031a8478e
commit
eb30bd0853
1 changed files with 1 additions and 4 deletions
|
|
@ -75,10 +75,7 @@ var CloudCmd, Util, DOM, JsDiff, ace;
|
|||
var lPath = DOM.getCurrentPath(),
|
||||
lValue = Ace.getValue();
|
||||
|
||||
if ( Util.strCmp(Value, lValue) )
|
||||
Util.log('edit: nothing to save');
|
||||
else
|
||||
DOM.RESTfull.save(lPath, lValue);
|
||||
DOM.RESTfull.save(lPath, lValue);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue