mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Refactoring template views, working towards session data, & clean up of
views
This commit is contained in:
6
src/interface/static/js/pyshelf_ux.js
vendored
6
src/interface/static/js/pyshelf_ux.js
vendored
@@ -74,4 +74,10 @@ $(document).ready(function(){
|
||||
$('#btn_login').on('click', function(){
|
||||
$('#hdr_nav_login').toggle();
|
||||
});
|
||||
$('#sortlist').change(function () {
|
||||
var optionSelected = $(this).find("option:selected");
|
||||
var valueSelected = optionSelected.val();
|
||||
var textSelected = optionSelected.text();
|
||||
window.location.href=valueSelected
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user