forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdupoiri...@apache.org
Subject svn commit: r394060 - in /forrest/trunk/tools/forrestbar/xpi/chrome/content: forrestbarOverlay.js forrestbarOverlay.xul
Date Fri, 14 Apr 2006 10:45:21 GMT
Author: cdupoirieux
Date: Fri Apr 14 03:44:57 2006
New Revision: 394060

URL: http://svn.apache.org/viewcvs?rev=394060&view=rev
Log:
Add the ability to search in Jira

Modified:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?rev=394060&r1=394059&r2=394060&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Fri Apr 14 03:44:57
2006
@@ -60,6 +60,12 @@
   navigate('http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=user_forrest_apache_org&restrict=&exclude=&words='
+ searchItem.value);
 }
 
+function searchIssue(searchID)
+{
+  var searchItem = document.getElementById(searchID);
+  navigate('http://issues.apache.org/jira/secure/QuickSearch.jspa?pid=12310000&searchString='
+ searchItem.value);
+}
+
 function searchSite(searchID)
 {
   var searchItem = document.getElementById(searchID);

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul?rev=394060&r1=394059&r2=394060&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul (original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.xul Fri Apr 14 03:44:57
2006
@@ -114,6 +114,7 @@
             <menuitem label="Dev (The Mail Archive)" onclick="searchDev('mailArchive',
'forrestbar-input');" hidden="false"/>
             <menuitem label="User (The Mail Archive)" onclick="searchUser('forrestbar-input');"
hidden="false"/>
             <menuitem label="Forrest Site" onclick="searchSite('forrestbar-input');" hidden="false"/>
+            <menuitem label="JIRA Issues" onclick="searchIssue('forrestbar-input');" hidden="false"/>
           </menupopup>
         </toolbarbutton>
         <toolbarseparator/>



Mime
View raw message