diff options
Diffstat (limited to 'data/lib/bzpage.js')
-rw-r--r-- | data/lib/bzpage.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js index 1a3e6b4..c256228 100644 --- a/data/lib/bzpage.js +++ b/data/lib/bzpage.js @@ -722,7 +722,7 @@ function getSelection () { * @param product (optional) string with the product name, if undefined, * search in all products * @return None - * + * */ function queryInNewTab(text, component, product) { var urlStr = "https://" + window.location.hostname + "/buglist.cgi?query_format=advanced"; @@ -747,11 +747,11 @@ function queryInNewTab(text, component, product) { // for further investigative searches if (text) { text = encodeURIComponent(text.trim()); - var searchText = "&field1-0-0=longdesc&type1-0-0=substring&value1-0-0=" + var searchText = "&field0-0-0=longdesc&type0-0-0=substring&value0-0-0=" + text - + "&field1-0-1=attach_data.thedata&type1-0-1=substring&value1-0-1=" + + "&field0-0-1=attach_data.thedata&type0-0-1=substring&value0-0-1=" + text - + "&field1-0-2=status_whiteboard&type1-0-2=substring&value1-0-2=" + + "&field0-0-2=status_whiteboard&type0-0-2=substring&value0-0-2=" + text; urlStr += searchText; postMessage(new Message("OpenURLinTab", urlStr)); |