mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
Merge pull request #1343 from haiwen/trash-restore-tip
restore trash: modified the success tip
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user