Browse Source
Merge pull request #6993 from abpframework/volo/issue/4538
Don't show confirmation on document cache clear
pull/7096/head
Halil İbrahim Kalkan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/index.js
|
|
|
@ -51,14 +51,11 @@ |
|
|
|
visible: abp.auth.isGranted( |
|
|
|
'Docs.Admin.Documents' |
|
|
|
), |
|
|
|
confirmMessage: function (data) { |
|
|
|
return l('RemoveFromCacheConfirmation'); |
|
|
|
}, |
|
|
|
action: function (data) { |
|
|
|
service |
|
|
|
.removeFromCache(data.record.id) |
|
|
|
.then(function () { |
|
|
|
abp.message.success(l('RemovedFromCache')); |
|
|
|
abp.notify.success(l('RemovedFromCache')); |
|
|
|
dataTable.ajax.reload(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|