diff options
author | Byron Jones <glob@mozilla.com> | 2016-01-11 05:27:18 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2016-01-11 05:27:18 +0100 |
commit | 9e478ddf25411f901bf552e8b85e5a0776775ea0 (patch) | |
tree | 63abc7cf08968e54dfe2df1489adef96a9244c00 /extensions/BMO/web/js | |
parent | 9bc226afaf6c0108576f11d6a234ac48347dbbf5 (diff) | |
download | bugzilla-9e478ddf25411f901bf552e8b85e5a0776775ea0.tar.gz bugzilla-9e478ddf25411f901bf552e8b85e5a0776775ea0.tar.xz |
Bug 1237185 - hide 'cab review' custom field behind a "click through" to direct people to servicenow
Diffstat (limited to 'extensions/BMO/web/js')
-rw-r--r-- | extensions/BMO/web/js/edit_bug.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/BMO/web/js/edit_bug.js b/extensions/BMO/web/js/edit_bug.js index 87cbbba21..21c1d1709 100644 --- a/extensions/BMO/web/js/edit_bug.js +++ b/extensions/BMO/web/js/edit_bug.js @@ -45,3 +45,12 @@ YAHOO.util.Event.onDOMReady(function() { new_comment.style.width = comment_width; } }); + +$(function() { + $('#cab-review-gate-close') + .click(function(event) { + event.preventDefault(); + $('#cab-review-gate').hide(); + $('#cab-review-edit').show(); + }); +})(jQuery); |