Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/9ed187202a4601f2b225c93b962c006fe91e5374
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
11 additions and
9 deletions
@ -12,10 +12,10 @@ define([
className : 'btn' ,
events : {
'click' : 'add '
'click' : 'add Notification '
} ,
add : function ( ) {
add Notification : function ( ) {
this . model . set ( 'id' , undefined ) ;
var view = new NzbDrone . Settings . Notifications . EditView ( { model : this . model } ) ;
NzbDrone . modalRegion . show ( view ) ;
@ -6,14 +6,16 @@ define(['app', 'Settings/Notifications/ItemView', 'Settings/Notifications/AddVie
template : 'Settings/Notifications/CollectionTemplate' ,
events : {
'click .x-add' : function ( ) {
var schema = new NzbDrone . Settings . Notifications . Collection ( ) ;
schema . url = '/api/notification/schema' ;
schema . fetch ( ) ;
'click .x-add' : 'openSchemaModal'
} ,
var view = new NzbDrone . Settings . Notifications . AddView ( { collection : schema } ) ;
NzbDrone . modalRegion . show ( view ) ;
}
openSchemaModal : function ( ) {
var schema = new NzbDrone . Settings . Notifications . Collection ( ) ;
schema . url = '/api/notification/schema' ;
schema . fetch ( ) ;
var view = new NzbDrone . Settings . Notifications . AddView ( { collection : schema } ) ;
NzbDrone . modalRegion . show ( view ) ;
}
} ) ;
} ) ;