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

20 lines
356 B
Plaintext
Raw Normal View History

<?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.store.get("zkTimeoutURL", callback);
]]>
</script>
</zk>