summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2017-02-06 17:03:47 +0100
committerDavid Lawrence <dkl@mozilla.com>2017-02-06 17:03:47 +0100
commitfd01bab71562adc79c1f67d89b097caaf85a4853 (patch)
treeff7e2787cfe95bf18f0a3136b6703bb7d186ed93 /extensions/BugModal/web
parenta7317dc144b515eef5f21a2bdbd4ea60a7134db5 (diff)
downloadbugzilla-fd01bab71562adc79c1f67d89b097caaf85a4853.tar.gz
bugzilla-fd01bab71562adc79c1f67d89b097caaf85a4853.tar.xz
Bug 1237790 - The experimental user interface doesn't provide link to help of bug fields
Diffstat (limited to 'extensions/BugModal/web')
-rw-r--r--extensions/BugModal/web/bug_modal.css4
-rw-r--r--extensions/BugModal/web/bug_modal.js7
2 files changed, 11 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css
index 338195acb..2ef56619e 100644
--- a/extensions/BugModal/web/bug_modal.css
+++ b/extensions/BugModal/web/bug_modal.css
@@ -970,3 +970,7 @@ div.ui-tooltip {
z-index: 100;
opacity: 0;
}
+
+#user-guide {
+ padding-top: 5px;
+}
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 2a75d33d2..8d908873e 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -678,6 +678,13 @@ $(function() {
window.location.replace($('#this-bug').val());
});
+ // Open help page
+ $('#help-btn')
+ .click(function(event) {
+ event.preventDefault();
+ window.open("https://wiki.mozilla.org/BMO/UserGuide", "_blank");
+ });
+
// needinfo in people section -> scroll to near-comment ui
$('#needinfo-scroll')
.click(function(event) {