diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-01-21 00:30:14 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-01-21 00:30:14 +0100 |
commit | f19b61f15e1cf3108690b3e996554aacce4b1c21 (patch) | |
tree | 1e04977f5430f6ef26e108618d4083be091e804c | |
parent | 183250afeca6b4046947040ad96e0f0af2a96754 (diff) | |
download | bugzilla-triage-f19b61f15e1cf3108690b3e996554aacce4b1c21.tar.gz |
Don't pretend we have XMLRPCMessage when we don'ŧ.
-rw-r--r-- | bugzillaBugTriage.js | 3 |
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",""); |