From 9d44be704d94a14d4092c4a42bffe1695ff56ad5 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Sun, 11 Nov 2007 15:08:42 -0500 Subject: [PATCH] interactive_methods.url_or_webjump: fixed --- conkeror/content/interactive.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conkeror/content/interactive.js b/conkeror/content/interactive.js index 49e5dcc..e8a6816 100644 --- a/conkeror/content/interactive.js +++ b/conkeror/content/interactive.js @@ -292,8 +292,8 @@ link: { async: function (spec, iargs, callback, callback_args, given_args) { // Setup a context for the context-keymap system. this.numberedlinks_minibuffer_active = true; var frame = this; - this.readFromMiniBuffer (prompt, initVal, null, null, null, null, - function (s) { + this.minibuffer.read ({prompt: prompt, initial_value: initVal, + callback: function (s) { callback_args.push (s); /* FIXME: numbered link toggling not yet working if (this.gTurnOffLinksAfter) { @@ -304,6 +304,7 @@ link: { async: function (spec, iargs, callback, callback_args, given_args) { this.numberedlinks_minibuffer_active = false; do_interactive.call (frame, iargs, callback, callback_args, given_args); }, + abort_callback: function () { /* FIXME: numbered link toggling not yet working */ /* @@ -314,7 +315,7 @@ link: { async: function (spec, iargs, callback, callback_args, given_args) { */ // unset keymap context this.numberedlinks_minibuffer_active = false; - }); + }}); } }, -- 2.11.4.GIT