Commit 52b4209101cfda45509f6dc6c3853dcd351c296e

Authored by ailsoncgt
1 parent cf1eb2cd

Removin file deleted after ajax call [#134]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
files/templates/files/delete_file.html
@@ -59,8 +59,8 @@ @@ -59,8 +59,8 @@
59 contentType: false, 59 contentType: false,
60 success: function(data) { 60 success: function(data) {
61 $('#fileDeleteModal').modal('hide'); 61 $('#fileDeleteModal').modal('hide');
62 - $('#file_eidt_{{ file.slug }}').remove();  
63 - $('#file_eidt_icon_{{ file.slug }}').remove(); 62 + $('#file_edit_{{ file.slug }}').remove();
  63 + $('#file_edit_icon_{{ file.slug }}').remove();
64 }, 64 },
65 error: function(data){ 65 error: function(data){
66 // $('.erro-update').html(data.responseText); 66 // $('.erro-update').html(data.responseText);