diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-11-30 21:03:59 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-11-30 21:03:59 +0100 |
commit | 37c8ef5cb2750f8039f3b26422d5a5c7cfc61f59 (patch) | |
tree | c372513c649a32eb0273a4a8b4004b676bdad133 /extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl | |
parent | d83a1c136214a5663a09987c48d66f9a527e7798 (diff) | |
download | bugzilla-37c8ef5cb2750f8039f3b26422d5a5c7cfc61f59.tar.gz bugzilla-37c8ef5cb2750f8039f3b26422d5a5c7cfc61f59.tar.xz |
Current dashboard work
Diffstat (limited to 'extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl')
-rw-r--r-- | extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl b/extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl deleted file mode 100644 index 98daedf1e..000000000 --- a/extensions/MyDashboard/template/en/default/mydashboard/prod-comp-search.html.tmpl +++ /dev/null @@ -1,43 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -<div id="prod_comp_search_main"> - <div id="prod_comp_search_autocomplete"> - <div id="prod_comp_search_label"> - File [% terms.Bug %]: - <img id="prod_comp_throbber" src="extensions/BMO/web/images/throbber.gif" - class="hidden" width="16" height="11"> - </div> - <input id="prod_comp_search" type="text" size="60"> - <div id="prod_comp_search_autocomplete_container"></div> - </div> -</div> -<script type="text/javascript"> - if(typeof(YAHOO.bugzilla.prodCompSearch) !== 'undefined' - && YAHOO.bugzilla.prodCompSearch != null) - { - YAHOO.bugzilla.prodCompSearch.init( - "prod_comp_search", - "prod_comp_search_autocomplete_container", - "[% format FILTER js %]", - "[% cloned_bug_id FILTER js %]"); - [% IF target == "describecomponents.cgi" %] - YAHOO.bugzilla.prodCompSearch.autoComplete.itemSelectEvent.subscribe(function (e, args) { - var oData = args[2]; - var url = "describecomponents.cgi?product=" + encodeURIComponent(oData[0]) + - "&component=" + encodeURIComponent(oData[1]) + - "#" + encodeURIComponent(oData[1]); - var format = YAHOO.bugzilla.prodCompSearch.format; - if (format) { - url += "&format=" + encodeURIComponent(format); - } - window.location.href = url; - }); - [% END %] - } -</script> |