aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-01-21 00:30:14 +0100
committerMatěj Cepl <mcepl@redhat.com>2010-01-21 00:30:14 +0100
commitf19b61f15e1cf3108690b3e996554aacce4b1c21 (patch)
tree1e04977f5430f6ef26e108618d4083be091e804c /bugzillaBugTriage.js
parent183250afeca6b4046947040ad96e0f0af2a96754 (diff)
downloadbugzilla-triage-f19b61f15e1cf3108690b3e996554aacce4b1c21.tar.gz
Don't pretend we have XMLRPCMessage when we don'ŧ.
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 1579388..79b7d81 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -1340,6 +1340,9 @@ BzPage.prototype.fixAllAttachments = function(list) {
* @return button fixing all bad Attachments
*/
BzPage.prototype.createFixAllButton = function (list) {
+ if (!XMLRPCMessage) {
+ return;
+ }
var that = this;
var elem = this.dok.createElement("a");
elem.setAttribute("href","");