Skip to content
Snippets Groups Projects
Verified Commit 042cb3ac authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #8014 rm click on attach_link

parent e93cdd56
No related branches found
No related tags found
No related merge requests found
...@@ -39,22 +39,19 @@ if (input_res) { ...@@ -39,22 +39,19 @@ if (input_res) {
?> ?>
input_chrono_id.value=<?php echo json_encode($arrayChrono); ?>; input_chrono_id.value=<?php echo json_encode($arrayChrono); ?>;
<?php <?php
} ?> } ?>
window.opener.$('attach_link').click(); window.opener.$('attach_link').click();
} else { //INDEX_MLB } else { //INDEX_MLB
window.opener.$('res_id').value=<?php echo json_encode($_SESSION['stockCheckbox']); ?>; window.opener.$('res_id').value=<?php echo json_encode($_SESSION['stockCheckbox']); ?>;
<?php <?php
if (_ID_TO_DISPLAY == 'chrono_number') { if (_ID_TO_DISPLAY == 'chrono_number') {
?> ?>
window.opener.$('chrono_id').value=<?php echo json_encode($arrayChrono); ?>; window.opener.$('chrono_id').value=<?php echo json_encode($arrayChrono); ?>;
<?php <?php
} ?>
} ?>
} }
<?php
if ($_SESSION['current_basket']['id'] == 'IndexingBasket') {
?>window.opener.$('attach_link').click();<?php
}
?>
self.close(); self.close();
</script> </script>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment