mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 01:49:12 +08:00
Corrected selector in media library picker JavaScript. Fixes #7695.
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
element.on("click",'.media-library-picker-remove', function(e) {
|
||||
e.preventDefault();
|
||||
if (!confirm(removePrompt)) return false;
|
||||
$(this).closest('li').remove();
|
||||
$(this).closest('.media-library-picker.items > ul > li').remove();
|
||||
refreshIds();
|
||||
showSaveMsg();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user