Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/ffc0ff8ebf08d75b274408d84d24e66f4347e9d1?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
10 additions and
4 deletions
@ -18,7 +18,6 @@
var el = $ ( this . el ) ;
var checked = $ ( target ) . attr ( 'checked' ) != undefined ;
var id = this . model . get ( "Id" ) ;
var qualities = _ . clone ( this . model . get ( "Qualities" ) ) ;
_ . each ( qualities , function ( qualityType ) {
@ -28,14 +27,14 @@
qualityType . Allowed = checked ;
//Find cutoff dropdown
var cutoff = $ ( el ) . find ( '.cutoff' ) ;
var cutoff Local = $ ( el ) . find ( '.cutoff' ) ;
if ( checked ) {
$ ( '<option>' + qualityType . Name + '</option>' ) . val ( qualityId ) . appendTo ( cutoff ) ;
$ ( '<option>' + qualityType . Name + '</option>' ) . val ( qualityId ) . appendTo ( cutoff Local ) ;
}
else {
$ ( cutoff ) . find ( 'option[value="' + qualityId + '"]' ) . remove ( ) ;
$ ( cutoff Local ) . find ( 'option[value="' + qualityId + '"]' ) . remove ( ) ;
}
//Todo: auto-sort by weight (which is not the value)
@ -45,6 +44,13 @@
}
} ) ;
var cutoff = $ ( el ) . find ( '.cutoff' ) ;
if ( cutoff [ 0 ] . length === 0 )
this . model . set ( { "Cutoff" : 0 } ) ;
if ( cutoff [ 0 ] . length === 1 )
this . model . set ( { "Cutoff" : cutoff . val ( ) } ) ;
this . model . set ( { "Qualities" : qualities } ) ;
this . model . save ( ) ;
} ,