Merge pull request #1160 from renini/develop
correct jquery syntax to select value to fix issue #285
This commit is contained in:
commit
e39388231b
|
@ -38,7 +38,7 @@ $(document).ready(function () {
|
||||||
if (epArr.length == 0)
|
if (epArr.length == 0)
|
||||||
return false;
|
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
|
window.location.href = url
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -105,7 +105,7 @@ $(document).ready(function () {
|
||||||
// handle the show selection dropbox
|
// handle the show selection dropbox
|
||||||
$('#pickShow').change(function () {
|
$('#pickShow').change(function () {
|
||||||
var sbRoot = $('#sbRoot').val();
|
var sbRoot = $('#sbRoot').val();
|
||||||
var val = $(this).attr('value');
|
var val = $(this).val();
|
||||||
if (val == 0)
|
if (val == 0)
|
||||||
return;
|
return;
|
||||||
url = sbRoot + '/home/displayShow?show=' + val;
|
url = sbRoot + '/home/displayShow?show=' + val;
|
||||||
|
|
Loading…
Reference in New Issue