mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 14:23:53 +00:00
Merge branch 'master' into patch-10
This commit is contained in:
commit
ba2f4822dd
@ -180,8 +180,12 @@ Popup.prototype.cancel = function(level,focusedInputNode) {
|
|||||||
}
|
}
|
||||||
if(!inputWithinPopup) {
|
if(!inputWithinPopup) {
|
||||||
var popup = this.popups.pop();
|
var popup = this.popups.pop();
|
||||||
if(popup.title) {
|
if(popup.title) {
|
||||||
popup.wiki.deleteTiddler(popup.title);
|
if(popup.noStateReference) {
|
||||||
|
popup.wiki.deleteTiddler(popup.title);
|
||||||
|
} else {
|
||||||
|
popup.wiki.deleteTiddler($tw.utils.parseTextReference(popup.title).title);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user