diff --git a/htdocs/bom/tpl/objectline_create.tpl.php b/htdocs/bom/tpl/objectline_create.tpl.php index 9c59338fa69..b33d1729b0a 100644 --- a/htdocs/bom/tpl/objectline_create.tpl.php +++ b/htdocs/bom/tpl/objectline_create.tpl.php @@ -254,9 +254,7 @@ jQuery(document).ready(function() { ,'idproduct' : idproduct } }).done(function(data) { - var data = JSON.parse(data); $('#idworkstations').val(data.defaultWk).select2(); - }); });