Merge pull request #1160 from renini/develop

correct jquery syntax to select value to fix issue #285
This commit is contained in:
echel0n 2015-01-13 19:46:19 -08:00
commit e39388231b
1 changed files with 3 additions and 3 deletions

View File

@ -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
});
@ -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;
@ -268,4 +268,4 @@ $(document).ready(function () {
height:120
});
});
});
});