Skip to content

Commit

Permalink
Now filter works for all options! There was a typo in an attribute tag
Browse files Browse the repository at this point in the history
  • Loading branch information
arc12012 committed Dec 3, 2016
1 parent baa4c34 commit d9b307c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions html/javascript/return.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ function filterDeviceList()
function populateDeviceList(filter)
//generates html and writes to 'devContainer' div in returnPage.html
{
if(filter!=null) window.alert("populating list with parameters "+filter[0]+" and "+filter[1]);
else window.alert("populating list with parameters null filter");
var devicesToList = getCheckedOutDevices(null,filter);
var htmlString="";
for (var i = 0; i < devicesToList.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion html/webpages/returnPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<h4>Filter by Time Ordered</h4>
<li clsas = "option" id = "all"><a href="#">All devices</a></li>
<li class = "option" id = "all"><a href="#">All devices</a></li>
<li class = "option" id = "1month"><a href="#">Past month</a></li>
<li class = "option" id = "1-3months"><a href="#">1-3 months ago</a></li>
<li class = "option" id = "3-5months"><a href="#">3-5 months ago</a></li>
Expand Down

0 comments on commit d9b307c

Please sign in to comment.