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+="