Not sure what is happening here, but for some reason every time I use
the custom ubiquity command that I have authored below, it caches the
first query.
For example when I send a POST data query to the intranet site using
the code below with the string "cow", every proceeding use of the
command will use the query string "cow"... The only way I can free up
the "cache" is by restarting the browser or by going to the actual web
page and entering a query into the form. Is this a bug with Ubiquity?
Here is the form that I am trying to pass the POST query data to:
<form accept-charset='UNKNOWN' method='POST' action='?
Action=ViewPackageRecipeAction' enctype='application/x-www-form-
urlencoded'>
Search for Recipe<BR>
Enter Package Number:<BR>
<input name='RecipeSearchValue' type='TEXT'>
<br>
<input type='SUBMIT' value='View Recipe'>
</form>
Here is the code for the command "package" where <url> is a url on my
local intranet):
CmdUtils.makeSearchCommand({
name: "package",
description: "Searches 'package recipe' for your words.",
url: "http://<url>?Action=ViewPackageRecipeAction",
postData: {"Action": "ViewPackageRecipeAction" ,
"RecipeSearchValue": "{QUERY}" }
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---