mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Revert "no delete confirmation for alerts"
This reverts commit 88c1a1e062
.
This commit is contained in:
parent
88c1a1e062
commit
5d36e17c18
@ -258,12 +258,12 @@ NavigatorWidget.prototype.handleDeleteTiddlerEvent = function(event) {
|
||||
confirmationTitle = title;
|
||||
}
|
||||
// Seek confirmation
|
||||
if(!tiddler.hasTag("$:/tags/Alert") && ((this.wiki.getTiddler(originalTitle) || (tiddler.fields.text || "") !== "") && !confirm($tw.language.getString(
|
||||
if((this.wiki.getTiddler(originalTitle) || (tiddler.fields.text || "") !== "") && !confirm($tw.language.getString(
|
||||
"ConfirmDeleteTiddler",
|
||||
{variables:
|
||||
{title: confirmationTitle}
|
||||
}
|
||||
)))) {
|
||||
))) {
|
||||
return false;
|
||||
}
|
||||
// Delete the original tiddler
|
||||
|
Loading…
Reference in New Issue
Block a user