diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-03-28 03:05:10 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-04-04 03:43:30 +0200 |
commit | 9f9e989704b5274afba6a1de0b7bdcc6e7296314 (patch) | |
tree | 01cc75a06bfb6cf60960fa72de90ad1084a6dfdb /template/en/default/global/per-bug-queries.html.tmpl | |
parent | 30c35b3aefc582e1bb123b309f9c4971c04094ee (diff) | |
download | bugzilla-9f9e989704b5274afba6a1de0b7bdcc6e7296314.tar.gz bugzilla-9f9e989704b5274afba6a1de0b7bdcc6e7296314.tar.xz |
Bug 1350909 - Make index.cgi cache-friendly for logged out requests
Diffstat (limited to 'template/en/default/global/per-bug-queries.html.tmpl')
-rw-r--r-- | template/en/default/global/per-bug-queries.html.tmpl | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl index 71723c178..b5c2431e1 100644 --- a/template/en/default/global/per-bug-queries.html.tmpl +++ b/template/en/default/global/per-bug-queries.html.tmpl @@ -15,46 +15,6 @@ [% IF user.id && user.settings.per_bug_queries.value == "on" %] <li id="links-special"> - <script [% script_nonce FILTER none %] type="text/javascript"> - <!-- - function update_text() { - // 'lob' means list_of_bugs. - var lob_action = document.getElementById('lob_action'); - var action = lob_action.options[lob_action.selectedIndex].value; - var text = document.getElementById('lob_direction'); - var new_query_text = document.getElementById('lob_new_query_text'); - - if (action == "add") { - text.innerHTML = "to"; - new_query_text.style.display = 'inline'; - } - else { - text.innerHTML = "from"; - new_query_text.style.display = 'none'; - } - } - - function manage_old_lists() { - var old_lists = document.getElementById('lob_oldqueryname'); - // If there is no saved searches available, returns. - if (!old_lists) return; - - var new_query = document.getElementById('lob_newqueryname').value; - - if (new_query != "") { - old_lists.disabled = true; - } - else { - old_lists.disabled = false; - } - } - $(function() { - $("#lob_action").on("change", update_text); - $("#lob_newqueryname").on("keyup", manage_old_lists); - }); - //--> - </script> - <div class="label"></div> <ul class="links"><li class="form"> <form id="list_of_bugs" action="buglist.cgi" method="get"> |