mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(edit) if patch not str => patch = false
This commit is contained in:
parent
1527c983e5
commit
afb2638cb6
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,8 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
|
|||
|
||||
if (isStr && patch && isLessLength)
|
||||
query = '?patch';
|
||||
else
|
||||
patch = false;
|
||||
|
||||
Util.ifExec(!isZip || query, function(equal, data) {
|
||||
var result = data || patch || Value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue