1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

[dir view] mv multi: fix

This commit is contained in:
llj
2017-12-27 16:49:11 +08:00
parent 905bf9976d
commit f88c9c5f74

View File

@@ -1165,12 +1165,12 @@ define([
_this.updateDirOpBarUI();
} else {
$(dirs).each(function() {
if (this.get('obj_name') in data['success']) {
if (data['success'].indexOf(this.get('obj_name')) != -1) {
dirents.remove(this);
}
});
$(files).each(function() {
if (this.get('obj_name') in data['success']) {
if (data['success'].indexOf(this.get('obj_name')) != -1) {
dirents.remove(this);
}
});
@@ -1194,7 +1194,6 @@ define([
}
msg_s = msg_s.replace('%(name)s', data['success'][0]).replace('%(amount)s', success_len - 1);
//msg_s += ' <a href="' + view_url + '">' + "View" + '</a>';
Common.feedback(msg_s, 'success');
}