aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/otherButtons.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-22 02:20:14 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-04-22 02:20:14 +0200
commit0cb856babf290b012c87234820db33e0801c4e5c (patch)
treefe5cd5e1b3ff04539a36e1310f2c9f48068bdf4d /data/lib/otherButtons.js
parenta06ad7e29b9ca7e8e24f72ef3431f5972e23ec8c (diff)
downloadbugzilla-triage-0cb856babf290b012c87234820db33e0801c4e5c.tar.gz
Add the roll-down list for selection of categories.
Diffstat (limited to 'data/lib/otherButtons.js')
-rw-r--r--data/lib/otherButtons.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 3a1f76a..7a11395 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -60,7 +60,11 @@ function markBugTriaged() {
// /fedora-meeting.2009-11-24-15.11.log.html
// http://meetbot.fedoraproject.org/fedora-meeting/2009-11-24\
// /fedora-meeting.2009-11-24-15.11.log.html
- addStuffToTextBox("keywords","Triaged");
+ if (!hasXorgBugsCategory()) {
+ alert("This won't do! First set the category!");
+ } else {
+ addStuffToTextBox("keywords","Triaged");
+ }
}
function addingEmbelishments(list) {