diff options
author | Byron Jones <bjones@mozilla.com> | 2012-10-26 14:49:05 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-10-26 14:49:05 +0200 |
commit | 25584848500dcd388ec152de5a45f5260817126f (patch) | |
tree | 8bc70d01fd6ddc27af6ed17e497679829711a25e | |
parent | 37e64ad3c90e56b348f5936294b9f6689ac7386d (diff) | |
download | bugzilla-25584848500dcd388ec152de5a45f5260817126f.tar.gz bugzilla-25584848500dcd388ec152de5a45f5260817126f.tar.xz |
Bug 805656: Fix broken service-now redirect on itrequrst form
-rw-r--r-- | extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl index 217b196d4..0db96e893 100644 --- a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl @@ -45,20 +45,18 @@ var theValue = theRadio.value; var compDescText = compdesc[theValue]; if (theRadio.id == 'componentso') { - compDescText = compDescText + '<br><br>' + serviceNowText; + compDescText = compDescText + '<br><br>' + serviceNowText; } document.getElementById('compdescription').innerHTML = compDescText; } } function on_submit() { - [% IF use_service_now %] - if (document.getElementById('componentmvd').checked) { - [%# redirect desktop issues to service-now #%] - document.location.href = 'https://mozilla.service-now.com/'; - return false; - } - [% END %] + if (document.getElementById('componentmvd').checked) { + [%# redirect desktop issues to service-now #%] + document.location.href = 'https://mozilla.service-now.com/'; + return false; + } return true; } |