From 18763039c1fd5baa5c857fa594c832bdd9b3ba6d Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 25 Mar 2011 19:19:07 +0100 Subject: Fix order of parameters of fixAttachById function. XMLRPCURL is mandatory. Fixes #73 --- data/lib/fixingAttMIME.js | 2 +- data/lib/otherButtons.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'data') 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]); } } } -- cgit