|
Lines 129-136
define([
Link Here
|
| 129 |
|
129 |
|
| 130 |
_setLoginMessageAttr: function(message) { |
130 |
_setLoginMessageAttr: function(message) { |
| 131 |
this._text.set('content', '<h1>' + _('Authentication failure') + '</h1><p>' + message + '</p>'); |
131 |
this._text.set('content', '<h1>' + _('Authentication failure') + '</h1><p>' + message + '</p>'); |
|
|
132 |
this._wipeInMessage(); |
| 133 |
}, |
| 134 |
|
| 135 |
_wipeInMessage: function() { |
| 132 |
setTimeout(function() { |
136 |
setTimeout(function() { |
| 133 |
fx.wipeIn({node: 'umcLoginMessages'}).play(); |
137 |
fx.wipeIn({node: 'umcLoginMessages', onEnd: function() { |
|
|
138 |
query('#umcLoginMessages').style('display', 'block'); |
| 139 |
}}).play(); |
| 134 |
}, 200); |
140 |
}, 200); |
| 135 |
}, |
141 |
}, |
| 136 |
|
142 |
|
|
Lines 374-382
define([
Link Here
|
| 374 |
this._setInitialFocus(); |
380 |
this._setInitialFocus(); |
| 375 |
Dialog._DialogLevelManager.show(this, this.underlayAttrs); |
381 |
Dialog._DialogLevelManager.show(this, this.underlayAttrs); |
| 376 |
if (this._text.get('content')) { |
382 |
if (this._text.get('content')) { |
| 377 |
setTimeout(function() { |
383 |
this._wipeInMessage(); |
| 378 |
fx.wipeIn({node: 'umcLoginMessages'}).play(); |
|
|
| 379 |
}, 200); |
| 380 |
} |
384 |
} |
| 381 |
// display the body background (hides rendering of GUI) the first time |
385 |
// display the body background (hides rendering of GUI) the first time |
| 382 |
if (!tools.status('setupGui')) { |
386 |
if (!tools.status('setupGui')) { |