aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/otherButtons.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/otherButtons.js')
-rw-r--r--data/lib/otherButtons.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 0e7b408..a766668 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -60,10 +60,10 @@ 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
- if (!hasXorgBugsCategory()) {
+ if (hasXorgBugsCategory && !hasXorgBugsCategory()) {
alert("This won't do! First set the category!");
}
- else if (!isEnterprise() && (getSeverity() == 'unspecified')) {
+ else if (isEnterprise && !isEnterprise() && (getSeverity() == 'unspecified')) {
alert("This won't do! Specify some severity!");
}
else {