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:
@@ -1165,12 +1165,12 @@ define([
|
|||||||
_this.updateDirOpBarUI();
|
_this.updateDirOpBarUI();
|
||||||
} else {
|
} else {
|
||||||
$(dirs).each(function() {
|
$(dirs).each(function() {
|
||||||
if (this.get('obj_name') in data['success']) {
|
if (data['success'].indexOf(this.get('obj_name')) != -1) {
|
||||||
dirents.remove(this);
|
dirents.remove(this);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(files).each(function() {
|
$(files).each(function() {
|
||||||
if (this.get('obj_name') in data['success']) {
|
if (data['success'].indexOf(this.get('obj_name')) != -1) {
|
||||||
dirents.remove(this);
|
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 = 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');
|
Common.feedback(msg_s, 'success');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user