From f19b61f15e1cf3108690b3e996554aacce4b1c21 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 21 Jan 2010 00:30:14 +0100 Subject: Don't pretend we have XMLRPCMessage when we don'ŧ. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bugzillaBugTriage.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bugzillaBugTriage.js') 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",""); -- cgit