From 9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 12:37:51 +0000 Subject: Follow HEAD for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52 --- ubiquityNeta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubiquityNeta.js') diff --git a/ubiquityNeta.js b/ubiquityNeta.js index 5f8f341..6d5200b 100644 --- a/ubiquityNeta.js +++ b/ubiquityNeta.js @@ -8,7 +8,7 @@ (function() { if (typeof gUbiquity === 'undefined') return; liberator.commands.addUserCommand(["ubiquity"], "Ubiquity", - function(arg, special){ + function(arg){ var anchor = document.getElementById("content"); if (window.location == "chrome://browser/content/browser.xul") anchor = anchor.selectedBrowser; @@ -17,7 +17,7 @@ var context = gUbiquity.__makeContext(); var previewBlock = document.getElementById("cmd-preview").contentDocument.getElementById("preview"); gUbiquity.__cmdManager.updateInput(arg||'', context, previewBlock); - if (special) { + if (arg.special) { gUbiquity.__cmdManager.execute(context); gUbiquity.closeWindow(); } -- cgit v1.2.3