1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00

Temporarily disable the search popup focus handling

Just so that search works again
This commit is contained in:
Jeremy Ruston 2012-10-17 19:12:05 +01:00
parent 5e2c3db385
commit 1a74d8526f

View File

@ -106,9 +106,9 @@ console.log("event type",event.type);
TextEditor.prototype.saveChanges = function() {
var text = this.macroNode.child.children[0].domNode.value,
tiddler = this.macroNode.wiki.getTiddler(this.macroNode.editTiddler);
if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
text = this.macroNode.params["default"] || "";
}
// if(this.macroNode.params.requireFocus === "yes" && document.activeElement !== this.macroNode.child.children[0].domNode) {
// text = this.macroNode.params["default"] || "";
// }
if(!tiddler) {
tiddler = new $tw.Tiddler({title: this.macroNode.editTiddler});
}