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);
|
||||
|
||||
if (window.frameElement && window.frameElement.id) {
|
||||
jQuery(parent$("bgFrameDiv")).fadeOut('fast');
|
||||
var div = parent$("popupFrame");
|
||||
div.hide();
|
||||
div.down("iframe").src = "/SOGo/loading";
|
||||
var bgDiv = parent$("bgFrameDiv");
|
||||
jQuery(bgDiv).fadeOut('fast', function(event) {
|
||||
var div = parent$("popupFrame");
|
||||
div.hide();
|
||||
div.down("iframe").src = "/SOGo/loading";
|
||||
});
|
||||
}
|
||||
else {
|
||||
window.close();
|
||||
|
|
Loading…
Reference in a new issue