From 8e9343c914229b3dcfb34c89024b6fb56937793c Mon Sep 17 00:00:00 2001 From: Connor L Jackson Date: Wed, 1 Mar 2017 23:47:43 -0500 Subject: [PATCH] Commas added in places. Trying to switch branches. >_> --- WebContent/html/webpages/returnPage.jsp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebContent/html/webpages/returnPage.jsp b/WebContent/html/webpages/returnPage.jsp index 6ea32a8..65eaa02 100644 --- a/WebContent/html/webpages/returnPage.jsp +++ b/WebContent/html/webpages/returnPage.jsp @@ -261,14 +261,14 @@ function hidePopup(){ //Turns array to string, which can be submitted on the form when actually returning //The string will contain the ID's of devices to be returned, and this will be sent to the database! function arrayToString(array){ - var sb = "[" + var sb = "["; for(var i = 0; i < array.length; i++){ //get the return id, go to that index in queried devices, and get that id! sb+= devices[array[i]].id; if(i != array.length-1) - sb+="," + sb+=","; } - sb+="]" + sb+="]"; return sb; }