|
71 |
|
71 |
|
72 |
_currentResult: null, |
72 |
_currentResult: null, |
73 |
|
73 |
|
74 |
_scrollPosY: 0, |
|
|
75 |
|
76 |
id: 'umcLoginWrapper', |
74 |
id: 'umcLoginWrapper', |
77 |
|
75 |
|
78 |
open: false, |
76 |
open: false, |
|
468 |
_show: function() { |
466 |
_show: function() { |
469 |
var deferred; |
467 |
var deferred; |
470 |
query('#umcLoginWrapper').style('display', 'block'); |
468 |
query('#umcLoginWrapper').style('display', 'block'); |
471 |
this._scrollPosY = window.scrollY; |
|
|
472 |
window.scrollTo(0, 0); |
473 |
query('#umcLoginDialog').style('opacity', '1'); // baseFx.fadeOut sets opacity to 0 |
469 |
query('#umcLoginDialog').style('opacity', '1'); // baseFx.fadeOut sets opacity to 0 |
474 |
this._setFocus(); |
470 |
this._setFocus(); |
475 |
if (has('ie') < 10) { |
471 |
if (has('ie') < 10) { |
|
522 |
// hide the dialog |
518 |
// hide the dialog |
523 |
var hide = lang.hitch(this, function() { |
519 |
var hide = lang.hitch(this, function() { |
524 |
query('#umcLoginWrapper').style('display', 'none'); |
520 |
query('#umcLoginWrapper').style('display', 'none'); |
525 |
window.scrollTo(0, this._scrollPosY); |
|
|
526 |
Dialog._DialogLevelManager.hide(this); |
521 |
Dialog._DialogLevelManager.hide(this); |
527 |
this.standby(false); |
522 |
this.standby(false); |
528 |
try { |
523 |
try { |