Lines 953-964
define([
|
Link Here
|
---|
|
953 |
d.iframe.addEventListener('load', lang.hitch(this, function() { |
953 |
d.iframe.addEventListener('load', lang.hitch(this, function() { |
954 |
var pathname = lang.getObject('contentWindow.location.pathname', false, d.iframe); |
954 |
var pathname = lang.getObject('contentWindow.location.pathname', false, d.iframe); |
955 |
if (pathname === '/univention/portal/loggedin/') { |
955 |
if (pathname === '/univention/portal/loggedin/') { |
956 |
login.start(null, null, true).then(lang.hitch(this, function() { |
956 |
login.start(null, null, true); |
957 |
this._setupEditModeIfAuthorized(); |
|
|
958 |
this._refresh(portalTools.RenderMode.NORMAL).then(lang.hitch(this, function() { |
959 |
this._addLinks(); |
960 |
})); |
961 |
})); |
962 |
this._selectHome(); |
957 |
this._selectHome(); |
963 |
this._removeIframe('$__login__$'); |
958 |
this._removeIframe('$__login__$'); |
964 |
} |
959 |
} |
Lines 1452-1458
define([
|
Link Here
|
---|
|
1452 |
|
1447 |
|
1453 |
this._initProperties(); |
1448 |
this._initProperties(); |
1454 |
this._registerEventHandlerForSearch(); |
1449 |
this._registerEventHandlerForSearch(); |
1455 |
this._setupEditModeIfAuthorized(); |
|
|
1456 |
this._renderSidebar(); |
1450 |
this._renderSidebar(); |
1457 |
this._render(portalTools.RenderMode.NORMAL); |
1451 |
this._render(portalTools.RenderMode.NORMAL); |
1458 |
this._addLinks(); |
1452 |
this._addLinks(); |
Lines 1463-1468
define([
|
Link Here
|
---|
|
1463 |
on(window, 'resize', lang.hitch(this, function() { |
1457 |
on(window, 'resize', lang.hitch(this, function() { |
1464 |
this._handleWindowResize(); |
1458 |
this._handleWindowResize(); |
1465 |
})); |
1459 |
})); |
|
|
1460 |
|
1461 |
login.onLogin(lang.hitch(this, function() { |
1462 |
this._setupEditModeIfAuthorized(); |
1463 |
this._refresh(portalTools.RenderMode.NORMAL).then(lang.hitch(this, function() { |
1464 |
this._addLinks(); |
1465 |
})); |
1466 |
})); |
1466 |
}, |
1467 |
}, |
1467 |
|
1468 |
|
1468 |
_initProperties: function() { |
1469 |
_initProperties: function() { |