core-jgi/org.adempiere.ui.zk/timeout.zul

27 lines
482 B
Plaintext

<?page title="iDempiere" contentType="text/html;charset=UTF-8" automaticTimeout="false" ?>
<zk>
<script defer="true">
<![CDATA[
var callback = function(ok, val) {
if (ok && !!val)
{
window.location = val;
}
else
{
window.location = "sessiontimeout.zul";
}
};
adempiere.get("zkTimeoutURL", callback);
]]>
</script>
<zscript>
<![CDATA[
import org.adempiere.webui.theme.ThemeManager;
self.setTitle(ThemeManager.getBrowserTitle());
]]>
</zscript>
</zk>