From e0028573e13c57fb6fde87e9c49b09e1b61335a9 Mon Sep 17 00:00:00 2001 From: renini Date: Sat, 27 Dec 2014 12:52:38 +0100 Subject: [PATCH 1/2] correct jquery syntax to select value to fix issue #285 --- gui/slick/js/displayShow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/slick/js/displayShow.js b/gui/slick/js/displayShow.js index 86c798bd..781f590f 100644 --- a/gui/slick/js/displayShow.js +++ b/gui/slick/js/displayShow.js @@ -38,7 +38,7 @@ $(document).ready(function () { if (epArr.length == 0) return false; - url = sbRoot + '/home/setStatus?show=' + $('#showID').attr('value') + '&eps=' + epArr.join('|') + '&status=' + $('#statusSelect').attr('value'); + url = sbRoot + '/home/setStatus?show=' + $('#showID').attr('value') + '&eps=' + epArr.join('|') + '&status=' + $('#statusSelect').val(); window.location.href = url }); @@ -268,4 +268,4 @@ $(document).ready(function () { height:120 }); }); -}); \ No newline at end of file +}); From 1662e212fe71f34ac08dda7debbbb63f41b9a4bf Mon Sep 17 00:00:00 2001 From: renini Date: Tue, 30 Dec 2014 22:28:31 +0100 Subject: [PATCH 2/2] Fix jquery syntax to fix changing show pickShow, prevShow, nextShow didn't work anymore after jquery update --- gui/slick/js/displayShow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/slick/js/displayShow.js b/gui/slick/js/displayShow.js index 781f590f..b78264a7 100644 --- a/gui/slick/js/displayShow.js +++ b/gui/slick/js/displayShow.js @@ -105,7 +105,7 @@ $(document).ready(function () { // handle the show selection dropbox $('#pickShow').change(function () { var sbRoot = $('#sbRoot').val(); - var val = $(this).attr('value'); + var val = $(this).val(); if (val == 0) return; url = sbRoot + '/home/displayShow?show=' + val;