diff --git a/modules/attachments/show_res_id.php b/modules/attachments/show_res_id.php index db209ba115f0c61ac421ce3b73758549a15f65b3..65ed186699dbdf725ffc457bb376942e0a5d675b 100755 --- a/modules/attachments/show_res_id.php +++ b/modules/attachments/show_res_id.php @@ -39,22 +39,19 @@ if (input_res) { ?> input_chrono_id.value=<?php echo json_encode($arrayChrono); ?>; <?php + } ?> window.opener.$('attach_link').click(); } else { //INDEX_MLB window.opener.$('res_id').value=<?php echo json_encode($_SESSION['stockCheckbox']); ?>; - <?php - if (_ID_TO_DISPLAY == 'chrono_number') { - ?> - window.opener.$('chrono_id').value=<?php echo json_encode($arrayChrono); ?>; - <?php - } ?> + <?php + if (_ID_TO_DISPLAY == 'chrono_number') { + ?> + window.opener.$('chrono_id').value=<?php echo json_encode($arrayChrono); ?>; + <?php + + } ?> } -<?php -if ($_SESSION['current_basket']['id'] == 'IndexingBasket') { - ?>window.opener.$('attach_link').click();<?php - } -?> self.close(); -</script> +</script> \ No newline at end of file diff --git a/package.json b/package.json index 24013eeef654a460b4fae728486e56fc453dad04..1142957dafe930e89e6b35493ebcf0041e22c58a 100755 --- a/package.json +++ b/package.json @@ -27,20 +27,20 @@ }, "devDependencies": { "@angular-devkit/build-angular": "^0.6.7", - "@angular/animations": "^6.0.6", + "@angular/animations": "^6.0.7", "@angular/cdk": "^6.3.1", "@angular/cli": "^6.0.8", - "@angular/common": "^6.0.6", - "@angular/compiler": "^6.0.6", - "@angular/compiler-cli": "^6.0.6", - "@angular/core": "^6.0.6", - "@angular/forms": "^6.0.6", - "@angular/http": "^6.0.6", + "@angular/common": "^6.0.7", + "@angular/compiler": "^6.0.7", + "@angular/compiler-cli": "^6.0.7", + "@angular/core": "^6.0.7", + "@angular/forms": "^6.0.7", + "@angular/http": "^6.0.7", "@angular/material": "^6.3.1", - "@angular/platform-browser": "^6.0.6", - "@angular/platform-browser-dynamic": "^6.0.6", - "@angular/platform-server": "^6.0.6", - "@angular/router": "^6.0.6", + "@angular/platform-browser": "^6.0.7", + "@angular/platform-browser-dynamic": "^6.0.7", + "@angular/platform-server": "^6.0.7", + "@angular/router": "^6.0.7", "@types/datatables.net": "^1.10.11", "@types/jquery": "^2.0.49", "@types/node": "^7.0.66",