Protects the onwership lock from a legitimate loss of the lock. No popup when leaving for real.

SVN:trunk[3735]
This commit is contained in:
Denis Flaven
2015-09-08 15:58:20 +00:00
parent 96a4b83e31
commit 98150db0b4

View File

@@ -4065,6 +4065,8 @@ EOF
$oPage->add_ready_script(
<<<EOF
window.setInterval(function() {
if (window.bInSubmit || window.bInCancel) return;
$.post(GetAbsoluteUrlAppRoot()+'pages/ajax.render.php', {operation: 'extend_lock', obj_class: $sJSClass, obj_key: $iKey, token: $sJSToken }, function(data) {
if (!data.status)
{