File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 116116 @foreach ($a_lists as $list => $a_list )
117117 <div class =" form-check form-check-inline" >
118118 <label class =" form-check-label" >
119- <input type =" radio" class =" jquery_ticket_list form-check-input" name =" complete" value =" {{ $a_list [' complete' ] } }" @if ($list == $checked_list ) {!! ' checked="checked"' ! !}@endif data-list =" {{ $list } }" data-default_status_id =" {{ $a_list [' default_status_id' ] } }" >{{ trans (' panichd::lang.' . $list . ' -tickets-adjective' ) } }
119+ <input type =" radio" id = " radio_ {{ $list } } _list " class =" jquery_ticket_list form-check-input" name =" complete" value =" {{ $a_list [' complete' ] } }" @if ($list == $checked_list ) {!! ' checked="checked"' ! !}@endif data-list =" {{ $list } }" data-default_status_id =" {{ $a_list [' default_status_id' ] } }" >{{ trans (' panichd::lang.' . $list . ' -tickets-adjective' ) } }
120120 </label >
121121 </div >
122122 @endforeach
321321 }
322322 });
323323
324+ // Change in status affects the List only changing from or to default_status_id
325+ $ (' #select_status' ).change (function (){
326+ if ($ (this ).val () == ' {{ $setting -> grab (' default_status_id' ) } }' ){
327+ if (! $ (' #radio_newest_list' ).is (' :checked' )) $ (' #radio_newest_list' ).prop (' checked' , true ).parent ().effect (' highlight' );
328+ }else {
329+ if ($ (' #radio_newest_list' ).is (' :checked' )) $ (' #radio_active_list' ).prop (' checked' , true ).parent ().effect (' highlight' );
330+ }
331+ });
324332
325333 // Category select with $u->maxLevel() > 1 only
326334 $ (' #category_change' ).change (function (){
You can’t perform that action at this time.
0 commit comments