Added support for filter tier by URL
This commit is contained in:
parent
47e7b81094
commit
67c81dd7e5
|
@ -318,9 +318,19 @@ $("table.table.list").click(function (e) {
|
|||
|
||||
})
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
makeObject(function (arr) {
|
||||
populateTable(arr)
|
||||
populateTierFilter()
|
||||
if (window.location.hash) {
|
||||
tr = window.location.hash
|
||||
tr = tr.replace("#", "")
|
||||
filterFunc(arr, tr, false, function (newObj) {
|
||||
populateTable(newObj);
|
||||
})
|
||||
}
|
||||
else {
|
||||
populateTable(arr)
|
||||
}
|
||||
})
|
||||
});
|
Loading…
Reference in New Issue