Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/cc660779438723a2d3b12e35459a9bbba3c9246b?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
16 additions and
4 deletions
@ -1,5 +1,5 @@
< div class = "modal-header" >
< button type = "button" class = "close " data-dismiss = "modal" aria-hidden = "true" > × < / button >
< button type = "button" class = "close x-cancel" aria-hidden = "true" > × < / button >
{{#if id}}
< h3 > Edit< / h3 >
{{else}}
@ -42,7 +42,7 @@
< span class = "x-activity" > < / span >
< button class = "btn " data-dismiss = "moda l"> cancel< / button >
< button class = "btn x-cance l"> cancel< / button >
< div class = "btn-group" >
< button class = "btn btn-primary x-save" > save< / button >
@ -18,7 +18,8 @@ define(
events : {
'click .x-save' : '_save' ,
'click .x-save-and-add' : '_saveAndAdd'
'click .x-save-and-add' : '_saveAndAdd' ,
'click .x-cancel' : '_cancel'
} ,
initialize : function ( options ) {
@ -68,6 +69,13 @@ define(
self . ui . activity . empty ( ) ;
} ) ;
}
} ,
_cancel : function ( ) {
if ( this . model . isNew ( ) ) {
this . model . destroy ( ) ;
vent . trigger ( vent . Commands . CloseModalCommand ) ;
}
}
} ) ;
@ -10,6 +10,7 @@ define(
initialize : function ( ) {
this . listenTo ( vent , vent . Commands . SaveSettings , this . saveSettings ) ;
this . listenTo ( this , 'destroy' , this . _stopListening ) ;
} ,
saveSettings : function ( ) {
@ -28,8 +29,11 @@ define(
}
return undefined ;
}
} ,
_stopListening : function ( ) {
this . stopListening ( vent , vent . Commands . SaveSettings ) ;
}
} ) ;
return AsChangeTrackingModel . call ( model ) ;