From 1a74d8526f5ac460992046ed1ff93e74a9329c6d Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 17 Oct 2012 19:12:05 +0100 Subject: [PATCH] Temporarily disable the search popup focus handling Just so that search works again --- core/modules/macros/edit/editors/texteditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/macros/edit/editors/texteditor.js b/core/modules/macros/edit/editors/texteditor.js index 3f942d608..6abb4bca4 100644 --- a/core/modules/macros/edit/editors/texteditor.js +++ b/core/modules/macros/edit/editors/texteditor.js @@ -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}); }