mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 20:10:03 +00:00
Temporarily disable the search popup focus handling
Just so that search works again
This commit is contained in:
parent
5e2c3db385
commit
1a74d8526f
@ -106,9 +106,9 @@ console.log("event type",event.type);
|
|||||||
TextEditor.prototype.saveChanges = function() {
|
TextEditor.prototype.saveChanges = function() {
|
||||||
var text = this.macroNode.child.children[0].domNode.value,
|
var text = this.macroNode.child.children[0].domNode.value,
|
||||||
tiddler = this.macroNode.wiki.getTiddler(this.macroNode.editTiddler);
|
tiddler = this.macroNode.wiki.getTiddler(this.macroNode.editTiddler);
|
||||||
if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
|
// if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
|
||||||
text = this.macroNode.params["default"] || "";
|
// text = this.macroNode.params["default"] || "";
|
||||||
}
|
// }
|
||||||
if(!tiddler) {
|
if(!tiddler) {
|
||||||
tiddler = new $tw.Tiddler({title: this.macroNode.editTiddler});
|
tiddler = new $tw.Tiddler({title: this.macroNode.editTiddler});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user