1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

restore trash: modified the success tip

This commit is contained in:
llj
2016-09-02 16:14:19 +08:00
parent d5ff53d94d
commit 63dc1b9fdd

View File

@@ -140,7 +140,7 @@ $('table').on("click", ".restore-file, .restore-dir", function() {
data: {'commit_id': commit_id, 'p': path}, data: {'commit_id': commit_id, 'p': path},
success: function(data) { success: function(data) {
_this.closest('tr').remove(); _this.closest('tr').remove();
feedback("{% trans "Success" %}", 'success'); feedback("{% trans "Successfully restored 1 item." %}", 'success');
}, },
error: function ajaxErrorHandler(xhr, textStatus, errorThrown) { error: function ajaxErrorHandler(xhr, textStatus, errorThrown) {
if (xhr.responseText) { if (xhr.responseText) {