You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2006/04/14 12:45:21 UTC
svn commit: r394060 - in /forrest/trunk/tools/forrestbar/xpi/chrome/content:
forrestbarOverlay.js forrestbarOverlay.xul
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/>
Re: svn commit: r394060 - in /forrest/trunk/tools/forrestbar/xpi/chrome/content:
forrestbarOverlay.js forrestbarOverlay.xul
Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
It is very interesting :
* If you enter a key word, it will search for the issues containing
this key word,
* If you enter an Issue number "388" for instance it will directly
displays the ISSUE 388 page !
Salutations,
Cyriaque,