[+] classes : New method ->attachProduct($id_product)

// Fix #PSTEST-699
// now new attachment are automatically linked to the current product
This commit is contained in:
mMarinetti
2012-02-21 10:03:32 +00:00
parent 8603a4fce0
commit f57e2b1cba
3 changed files with 36 additions and 9 deletions
@@ -94,9 +94,7 @@
<script type="text/javascript">
//displayFlags(languages, id_language, allowEmployeeFormLang);
$(document).ready(function() {
$(document).ready(function(){
$("#addAttachment").live('click', function() {
$("#selectAttachment2 option:selected").each(function(){
var val = $('#arrayAttachments').val();