aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib
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-03-25 19:19:07 +0100
commit18763039c1fd5baa5c857fa594c832bdd9b3ba6d (patch)
tree4ee1bc597f54f6038d3322eea530d45438842483 /data/lib
parentf167ed681ed2de8492c2159f2ea588ab6c44d40d (diff)
downloadbugzilla-triage-18763039c1fd5baa5c857fa594c832bdd9b3ba6d.tar.gz
Fix order of parameters of fixAttachById function. XMLRPCURL is mandatory.
Fixes #73
Diffstat (limited to 'data/lib')
-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]);
}
}
}