From 8da8d97b4bd37bcabcff9147415858a37314ef3c Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Fri, 2 Nov 2007 04:27:54 +0000 Subject: [PATCH] Bug 389131 - "Reporter should move away from SOAP (Reporter fails to send reports on trunk)" (address Neil's nit) [p=reed r=NeilAway r=raccettura a=blocking1.9+ for M9] --- extensions/reporter/resources/content/reporter/reportWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/reporter/resources/content/reporter/reportWizard.js b/extensions/reporter/resources/content/reporter/reportWizard.js index 388bd7162cf..6a5b732c3de 100644 --- a/extensions/reporter/resources/content/reporter/reportWizard.js +++ b/extensions/reporter/resources/content/reporter/reportWizard.js @@ -270,7 +270,7 @@ function serializeParams(params) { for (var key in params) { str += key + '=' + encodeURIComponent(params[key]) + '&'; } - return str.substr(0, str.length-1); + return str.slice(0, -1); } function onSendReportDataLoad(req) {