1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

added select/mv/cp/delete for multi dirents; bugfix for common.js

This commit is contained in:
llj
2015-03-02 14:07:55 +08:00
committed by Daniel Pan
parent 342ddb588c
commit 1496940aa4
8 changed files with 1453 additions and 211 deletions

View File

@@ -21,8 +21,11 @@ require.config({
},
},
paths: {
jquery: 'lib/jquery',
'jquery': 'lib/jquery',
'jquery.ui.core': 'lib/jquery.ui.core',
'jquery.ui.widget': 'lib/jquery.ui.widget.1.11.1',
'jquery.ui.progressbar': 'lib/jquery.ui.progressbar',
'tmpl': 'lib/tmpl.min',
'jquery.iframe-transport': 'lib/jquery.iframe-transport.1.4',
'jquery.fileupload': 'lib/jquery.fileupload.5.42.1',
@@ -114,9 +117,9 @@ define([
ajaxErrorHandler: function(xhr, textStatus, errorThrown) {
if (xhr.responseText) {
feedback($.parseJSON(xhr.responseText).error, 'error');
this.feedback($.parseJSON(xhr.responseText).error, 'error');
} else {
feedback(getText("Failed. Please check the network."), 'error');
this.feedback(gettext("Failed. Please check the network."), 'error');
}
},