mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user