diff --git a/ucs-4.0-0/management/univention-management-console-frontend/umc/dialog/LoginDialog.js b/ucs-4.0-0/management/univention-management-console-frontend/umc/dialog/LoginDialog.js index 1588416..4bde264 100644 --- a/ucs-4.0-0/management/univention-management-console-frontend/umc/dialog/LoginDialog.js +++ b/ucs-4.0-0/management/univention-management-console-frontend/umc/dialog/LoginDialog.js @@ -129,8 +129,14 @@ define([ _setLoginMessageAttr: function(message) { this._text.set('content', '

' + _('Authentication failure') + '

' + message + '

'); + this._wipeInMessage(); + }, + + _wipeInMessage: function() { setTimeout(function() { - fx.wipeIn({node: 'umcLoginMessages'}).play(); + fx.wipeIn({node: 'umcLoginMessages', onEnd: function() { + query('#umcLoginMessages').style('display', 'block'); + }}).play(); }, 200); }, @@ -374,9 +380,7 @@ define([ this._setInitialFocus(); Dialog._DialogLevelManager.show(this, this.underlayAttrs); if (this._text.get('content')) { - setTimeout(function() { - fx.wipeIn({node: 'umcLoginMessages'}).play(); - }, 200); + this._wipeInMessage(); } // display the body background (hides rendering of GUI) the first time if (!tools.status('setupGui')) {