Skip to content

Commit

Permalink
Commas added in places.
Browse files Browse the repository at this point in the history
Trying to switch branches. >_>
  • Loading branch information
clj13001 committed Mar 2, 2017
1 parent 0454577 commit 8e9343c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WebContent/html/webpages/returnPage.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
</script>
Expand Down

0 comments on commit 8e9343c

Please sign in to comment.