mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 11:10:56 +01:00
Fix #672 confirm deletion of multiple images
This commit is contained in:
@@ -13,6 +13,8 @@ Dropzone.confirm = (question, accepted, rejected) => {
|
|||||||
let removeEvents = () => {
|
let removeEvents = () => {
|
||||||
doc.off('confirmation', modalSelector, accept);
|
doc.off('confirmation', modalSelector, accept);
|
||||||
doc.off('cancellation', modalSelector, reject);
|
doc.off('cancellation', modalSelector, reject);
|
||||||
|
|
||||||
|
$(modalSelector).find('.remodal-confirm').removeClass('pointer-events-disabled');
|
||||||
};
|
};
|
||||||
|
|
||||||
let accept = () => {
|
let accept = () => {
|
||||||
|
|||||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user