Make sure the dom is rendered and is ready to append to it

This commit is contained in:
Hadi Nategh 2015-01-30 15:37:48 +00:00
parent 74eee4d061
commit ec13220449

View File

@ -176,7 +176,7 @@
.click(function (){self.close(framework.popup_idx(self.$iFrame[0].contentWindow));}); .click(function (){self.close(framework.popup_idx(self.$iFrame[0].contentWindow));});
if ($appHeader.length > 0) if ($appHeader.length > 0)
{ {
$appHeader.addClass('egw_fw_mobile_popup_appHeader').prepend($closeBtn); setTimeout(function(){$appHeader.addClass('egw_fw_mobile_popup_appHeader').prepend($closeBtn)},0);
} }
} }