From f5db535dad09197d42bcd1f417a676d2d93ee9c8 Mon Sep 17 00:00:00 2001 From: Connor L Jackson Date: Fri, 21 Apr 2017 14:55:39 -0400 Subject: [PATCH] Quick bug fixes --- WebContent/html/javascript/listing.jsp | 2 +- WebContent/html/javascript/statistics.jsp | 13 +------------ WebContent/html/webpages/returnPage.jsp | 3 ++- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/WebContent/html/javascript/listing.jsp b/WebContent/html/javascript/listing.jsp index 99e3733..2b6d939 100644 --- a/WebContent/html/javascript/listing.jsp +++ b/WebContent/html/javascript/listing.jsp @@ -67,7 +67,7 @@ function show(deviceArray){ var part2 = "');" for (var i = 0; i < deviceArray.length; i++) { - html += '
' + deviceArray[i].name + '

' + deviceArray[i].description + '



' + html += '
' + deviceArray[i].name + '

' + deviceArray[i].description + '



' } document.getElementById('devContainer').innerHTML = html; var anchors = document.getElementsByClassName('availableAnchor'); diff --git a/WebContent/html/javascript/statistics.jsp b/WebContent/html/javascript/statistics.jsp index 737c3dc..c84980b 100644 --- a/WebContent/html/javascript/statistics.jsp +++ b/WebContent/html/javascript/statistics.jsp @@ -46,18 +46,7 @@ function displayData() { for (var i = 0; i'; diff --git a/WebContent/html/webpages/returnPage.jsp b/WebContent/html/webpages/returnPage.jsp index 0912c4d..a677b37 100644 --- a/WebContent/html/webpages/returnPage.jsp +++ b/WebContent/html/webpages/returnPage.jsp @@ -219,11 +219,12 @@ function populateDeviceList(){ var hardware = devices[i].hardware; var checkout = devices[i].checkout; var manufacturer = devices[i].manufacturer; + var model = devices[i].model; var part1 = "nhpup.popup('"; var part2 = "');" //HTML representation in divs - htmlString+=''; + htmlString+=''; htmlString+="
"; htmlString+=""; htmlString+="