summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/web
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2016-01-11 05:27:18 +0100
committerByron Jones <glob@mozilla.com>2016-01-11 05:27:18 +0100
commit9e478ddf25411f901bf552e8b85e5a0776775ea0 (patch)
tree63abc7cf08968e54dfe2df1489adef96a9244c00 /extensions/BMO/web
parent9bc226afaf6c0108576f11d6a234ac48347dbbf5 (diff)
downloadbugzilla-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')
-rw-r--r--extensions/BMO/web/js/edit_bug.js9
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);