Temporarily disable the search popup focus handling

Just so that search works again
print-window-tiddler
Jeremy Ruston 2012-10-17 19:12:05 +01:00
rodzic 5e2c3db385
commit 1a74d8526f
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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});
}