|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
state.call.abort();
|
|
|
|
|
}
|
|
|
|
|
state.dir = currentDir;
|
|
|
|
|
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats.php') + '?dir=' + encodeURIComponent(currentDir),function(response) {
|
|
|
|
|
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats') + '?dir=' + encodeURIComponent(currentDir),function(response) {
|
|
|
|
|
state.dir = null;
|
|
|
|
|
state.call = null;
|
|
|
|
|
Files.updateMaxUploadFilesize(response);
|
|
|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
},
|
|
|
|
|
_updateStorageQuotas: function() {
|
|
|
|
|
var state = Files.updateStorageQuotas;
|
|
|
|
|
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats.php'),function(response) {
|
|
|
|
|
state.call = $.getJSON(OC.filePath('files','ajax','getstoragestats'),function(response) {
|
|
|
|
|
Files.updateQuota(response);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|