Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/10fc8757157c97df64825ac0b2b6a6592403e0dc
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
16 additions and
8 deletions
@ -8,6 +8,7 @@ define(
return function ( ) {
var originalInitialize = this . prototype . initialize ;
var originalOnRender = this . prototype . onRender ;
var originalBeforeClose = this . prototype . onBeforeClose ;
@ -47,7 +48,7 @@ define(
}
} ;
this . prototype . onRender = function ( ) {
this . prototype . initialize = function ( options ) {
if ( this . model ) {
this . listenTo ( this . model , 'validation:sync' , function ( ) {
@ -65,6 +66,13 @@ define(
this . listenTo ( this , 'validation:failed' , validationFailed ) ;
}
if ( originalInitialize ) {
originalInitialize . call ( this , options ) ;
}
} ;
this . prototype . onRender = function ( ) {
Validation . bind ( this ) ;
this . bindToModelValidation = bindToModel . bind ( this ) ;
@ -36,16 +36,16 @@ define(
}
}
var control Group = input . parents ( '.form-group' ) ;
var form Group = input . parents ( '.form-group' ) ;
if ( control Group. length === 0 ) {
control Group = input . parent ( ) ;
if ( form Group. length === 0 ) {
form Group = input . parent ( ) ;
}
else {
var inputGroup = control Group. find ( '.input-group' ) ;
var inputGroup = form Group. find ( '.input-group' ) ;
if ( inputGroup . length === 0 ) {
control Group. append ( '<span class="help-inline validation-error">' + errorMessage + '</span>' ) ;
form Group. append ( '<span class="help-inline validation-error">' + errorMessage + '</span>' ) ;
}
else {
@ -53,9 +53,9 @@ define(
}
}
control Group. addClass ( 'has-error' ) ;
form Group. addClass ( 'has-error' ) ;
return control Group. find ( '.help-inline' ) . text ( ) ;
return form Group. find ( '.help-inline' ) . text ( ) ;
} ;