From 74fc68733d06705e8c1d42a060ebb2df66f23b0f Mon Sep 17 00:00:00 2001 From: Alex Orluc <alex.orluc@maarch.org> Date: Fri, 16 Sep 2016 12:13:03 +0000 Subject: [PATCH] FIX #4599 change setInterval timer 5000 to 500 --- attachments/trunk/attachments_content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attachments/trunk/attachments_content.php b/attachments/trunk/attachments_content.php index b65c574b7fb..13c61203511 100644 --- a/attachments/trunk/attachments_content.php +++ b/attachments/trunk/attachments_content.php @@ -1858,7 +1858,7 @@ if(!isset($_REQUEST['id'])) { $content .= _EDIT_MODEL; $content .= '" name="edit" id="edit" style="display:none;margin-top: 0" class="button" ' . 'onclick="window.open(\'' . $_SESSION['config']['businessappurl'] . 'index.php?display=true&module=content_management&page=applet_popup_launcher&objectType=attachmentVersion&objectId=\'+$(\'templateOffice\').value+\'&attachType=\'+$(\'attachment_types\').value+\'&objectTable=' . $objectTable . '&contactId=\'+$(\'contactidAttach\').value+\'&addressId=\'+$(\'addressidAttach\').value+\'&chronoAttachment=\'+$(\'chrono\').value+\'&titleAttachment=\'+cleanTitle($(\'title\').value)+\'&back_date=\'+$(\'back_date\').value+\'&resMaster=' . $_SESSION['doc_id'] - . '\', \'\', \'height=200, width=250,scrollbars=no,resizable=no,directories=no,toolbar=no\');$(\'add\').value=\'Edition en cours ...\';setInterval(function() {checkEditingDoc(\''.$_SESSION['user']['UserId'].'\')}, 5000);$(\'add\').disabled=\'disabled\';$(\'add\').style.opacity=\'0.5\';this.hide();"/>'; + . '\', \'\', \'height=200, width=250,scrollbars=no,resizable=no,directories=no,toolbar=no\');$(\'add\').value=\'Edition en cours ...\';setInterval(function() {checkEditingDoc(\''.$_SESSION['user']['UserId'].'\')}, 500);$(\'add\').disabled=\'disabled\';$(\'add\').style.opacity=\'0.5\';this.hide();"/>'; $content .= '<span style="display: none" id="divOr0"> ou </span>'; $content .= '</div>'; -- GitLab