mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(edit) onSave: add setCurrentSize
This commit is contained in:
parent
b6cf544f24
commit
7d664f9227
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
if (!isError) {
|
||||
Edit.showMessage(text);
|
||||
DOM.saveDataToStorage(path, Value);
|
||||
DOM.setCurrentSize(Value.length);
|
||||
} else {
|
||||
ret = Dialog.confirm(text + msg);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue