You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
fix json return things
This commit is contained in:
@@ -8,9 +8,11 @@ $(document).ready(function() {
|
||||
url : url,
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
encode : true
|
||||
encode : true,
|
||||
}).done(function(data) {
|
||||
console.log(data);
|
||||
alert("it workss");
|
||||
}).fail(function(data) {
|
||||
alert("it failed");
|
||||
});
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user