mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(edit) add data check condition
This commit is contained in:
parent
63eda23f1a
commit
8cbc2bcd12
1 changed files with 3 additions and 1 deletions
|
|
@ -211,7 +211,9 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
var path = DOM.getCurrentPath();
|
||||
|
||||
DOM.getDataFromStorage(path, function(data) {
|
||||
Value = data;
|
||||
if (data)
|
||||
Value = data;
|
||||
|
||||
callback();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue