Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/cf2ca6aa32de5fb8b7e33b6d59adcc407db73640?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
3 deletions
@ -3,8 +3,9 @@ define(
[
[
'app' ,
'app' ,
'marionette' ,
'marionette' ,
'underscore' ,
'Commands/CommandController'
'Commands/CommandController'
] , function ( App , Marionette , CommandController) {
] , function ( App , Marionette , _, CommandController) {
return Marionette . ItemView . extend ( {
return Marionette . ItemView . extend ( {
template : 'Shared/Toolbar/ButtonTemplate' ,
template : 'Shared/Toolbar/ButtonTemplate' ,
@ -30,8 +31,10 @@ define(
var command = this . model . get ( 'command' ) ;
var command = this . model . get ( 'command' ) ;
if ( command ) {
if ( command ) {
var properties = _ . extend ( { name : command } , this . model . get ( 'properties' ) ) ;
CommandController . bindToCommand ( {
CommandController . bindToCommand ( {
command : { name : command } ,
command : properties ,
element : this . $el
element : this . $el
} ) ;
} ) ;
}
}
@ -51,7 +54,7 @@ define(
invokeCommand : function ( ) {
invokeCommand : function ( ) {
var command = this . model . get ( 'command' ) ;
var command = this . model . get ( 'command' ) ;
if ( command ) {
if ( command ) {
CommandController . Execute ( command );
CommandController . Execute ( command , this . model . get ( 'properties' ) );
}
}
} ,
} ,