mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(edit) could not save when diff disabled in options
This commit is contained in:
parent
2c443a0145
commit
cb707129f5
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ var CloudCmd, Util, DOM, CloudFunc, io, ace, DiffProto, diff_match_patch, Zip, M
|
|||
exec.if(!isDiff, function(patch) {
|
||||
var query = '',
|
||||
MAX_SIZE = CloudFunc.MAX_FILE_SIZE,
|
||||
patchLength = patch.length,
|
||||
patchLength = patch && patch.length || 0,
|
||||
length = Value.length,
|
||||
isLessMaxLength = length < MAX_SIZE,
|
||||
isLessLength = isLessMaxLength && patchLength < length,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue