aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-25 19:19:07 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:44:00 +0200
commit71fc5197d1a71a9f2efd1b4f83c7d3b0de539e10 (patch)
treebdaebf06ca52051816251d4597d657bb926e5264 /data
parent470e0d853724feb51a991e9e8b867e366c8519ae (diff)
downloadbugzilla-triage-71fc5197d1a71a9f2efd1b4f83c7d3b0de539e10.tar.gz
Fix order of parameters of fixAttachById function. XMLRPCURL is mandatory.
Fixes #73
Diffstat (limited to 'data')
-rw-r--r--data/lib/fixingAttMIME.js2
-rw-r--r--data/lib/otherButtons.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/fixingAttMIME.js b/data/lib/fixingAttMIME.js
index 9297c06..99c32f7 100644
--- a/data/lib/fixingAttMIME.js
+++ b/data/lib/fixingAttMIME.js
@@ -43,7 +43,7 @@ function XMLRPCcallback() {
* this change };
*
*/
-function fixAttachById(id, type, email, XMLRPCURL) {
+function fixAttachById(id, XMLRPCURL, type, email) {
var params = [];
if (type === undefined) {
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index b7bb7d5..bc445bf 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -87,7 +87,7 @@ function addingEmbelishments(list) {
// Add find chip magic button
var whiteboard_string = document.getElementById("status_whiteboard").value;
if (!/card_/.test(whiteboard_string)) {
- fillInChipMagic(XorgLogAttList[0][1]);
+ fillInChipMagic(list[0][1]);
}
}
}