Rework on feedback popups
This commit is contained in:
1 parent
4133faec32
commit
49fbf665e8
9 files changed
+39
-20
No files matched your search
+4
-1
@@ -99,7 +99,10 @@ function loadDocs() {
|
||||
$Item.find('.delete').data('id', asDoc.id_doc).click(function(){
|
||||
Tools.ajax(
|
||||
'delete_doc',
|
||||
(asData) => {loadDocs();},
|
||||
(asData) => {
|
||||
oCATC.feedback('notice', 'File "'+asData.filename+'" deleted');
|
||||
loadDocs();
|
||||
},
|
||||
{id: $(this).data('id')}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user