mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix error popup from coming up when show is selected without expanding
This commit is contained in:
parent
c01b8b3015
commit
a2c7413d9a
3 changed files with 6 additions and 8 deletions
|
@ -16,7 +16,7 @@
|
|||
* Change autoProcessTV scripts python code quotes from " -> '
|
||||
* Add expand all button to Episode Status Management
|
||||
* Add Unknown status query to Episode Status Management
|
||||
|
||||
* Fix Episode Status Management error popup from coming up when show is selected without expanding
|
||||
|
||||
[develop changelog]
|
||||
* Fix traceback error when using the menu item Manage/Update Kodi
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<h3>${len($sorted_show_ids)} Shows containing <span class="grey-text">$common.statusStrings[$int($whichStatus)]</span> episodes</h3>
|
||||
|
||||
#if $whichStatus in ($common.ARCHIVED, $common.IGNORED, $common.SNATCHED):
|
||||
#set $row_class = "good"
|
||||
#set $row_class = 'good'
|
||||
#else
|
||||
#set $row_class = $common.Overview.overviewStrings[$whichStatus]
|
||||
#end if
|
||||
|
|
|
@ -16,12 +16,10 @@ $(document).ready(function() {
|
|||
}
|
||||
|
||||
$('.go').click(function() {
|
||||
var selected;
|
||||
|
||||
if (selected = (0 === $('input[class*="-epcheck"]:checked').length))
|
||||
alert('Please select at least one episode');
|
||||
|
||||
return !selected
|
||||
if ($('input[class*="-epcheck"]:checked').length === 0 && $('input[id*="allCheck-"]:checked').length === 0) {
|
||||
alert('Please select at least one Show or Episode');
|
||||
return false
|
||||
}
|
||||
});
|
||||
|
||||
$('.allCheck').click(function(){
|
||||
|
|
Loading…
Reference in a new issue