Fix SD disabled error
This commit is contained in:
parent
12403444c4
commit
1bf46d655d
1 changed files with 3 additions and 0 deletions
|
|
@ -449,6 +449,9 @@ $(function() {
|
|||
var drop = (dropzone == "local") ? localTarget : sdTarget;
|
||||
var url = API_BASEURL + "files/" + dropzone;
|
||||
|
||||
if (button === undefined)
|
||||
return;
|
||||
|
||||
button.fileupload({
|
||||
url: url,
|
||||
dataType: "json",
|
||||
|
|
|
|||
Loading…
Reference in a new issue