mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
updated all instances of RemoveUrl checks
This commit is contained in:
@@ -236,7 +236,13 @@
|
||||
}
|
||||
|
||||
if (_this.filter("[itemprop~='RemoveUrl']").length == 1) {
|
||||
if (!confirm(confirmRemoveMessage)) {
|
||||
// use a custom message if its set in data-message
|
||||
var dataMessage = _this.data('message');
|
||||
if (dataMessage === undefined) {
|
||||
dataMessage = confirmRemoveMessage;
|
||||
}
|
||||
|
||||
if (!confirm(dataMessage)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user