Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/c4fc3e77b39e586c233a04ef5602a11e57ae8c6d
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
19 additions and
3 deletions
@ -20,7 +20,8 @@ define(
} ,
events : {
'click .x-save' : '_saveQualityProfile'
'click .x-save' : '_saveQualityProfile' ,
'click .x-cancel' : '_cancelQualityProfile'
} ,
initialize : function ( options ) {
@ -85,6 +86,21 @@ define(
}
} ,
_cancelQualityProfile : function ( ) {
if ( ! this . model . has ( 'id' ) ) {
vent . trigger ( vent . Commands . CloseModalCommand ) ;
return ;
}
var promise = this . model . fetch ( ) ;
if ( promise ) {
promise . done ( function ( ) {
vent . trigger ( vent . Commands . CloseModalCommand ) ;
} ) ;
}
} ,
_showFieldsView : function ( ) {
this . fields . show ( this . fieldsView ) ;
}
@ -1,5 +1,5 @@
< div class = "modal-header" >
< button type = "button" class = "close " data-dismiss = "moda l" aria-hidden = "true" > × < / button >
< button type = "button" class = "close x-cance l" aria-hidden = "true" > × < / button >
{{#if id}}
< h3 > Edit< / h3 >
{{else}}
@ -24,6 +24,6 @@
{{#if id}}
< button class = "btn btn-danger pull-left x-delete" > delete< / button >
{{/if}}
< button class = "btn " data-dismiss = "moda l"> cancel< / button >
< button class = "btn x-cance l"> cancel< / button >
< button class = "btn btn-primary x-save" > save< / button >
< / div >