Single-window mode: fixed closing of popup window
This commit is contained in:
parent
a98bd71ec4
commit
56a9692da4
|
@ -1665,10 +1665,12 @@ function onCloseButtonClick(event) {
|
||||||
Event.stop(event);
|
Event.stop(event);
|
||||||
|
|
||||||
if (window.frameElement && window.frameElement.id) {
|
if (window.frameElement && window.frameElement.id) {
|
||||||
jQuery(parent$("bgFrameDiv")).fadeOut('fast');
|
var bgDiv = parent$("bgFrameDiv");
|
||||||
var div = parent$("popupFrame");
|
jQuery(bgDiv).fadeOut('fast', function(event) {
|
||||||
div.hide();
|
var div = parent$("popupFrame");
|
||||||
div.down("iframe").src = "/SOGo/loading";
|
div.hide();
|
||||||
|
div.down("iframe").src = "/SOGo/loading";
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
window.close();
|
window.close();
|
||||||
|
|
Loading…
Reference in a new issue