[-] BO: Fix #PSCFV-3963

This commit is contained in:
rGaillard
2012-09-12 12:34:44 +00:00
parent 83482ed675
commit afe6ee8e9d
@@ -47,7 +47,7 @@
<td> <td>
<select multiple id="select_right" name="products[]"> <select multiple id="select_right" name="products[]">
{foreach from=$field.products item='product'} {foreach from=$field.products item='product'}
<option value="{$product.id_product}">{$product.name}</option> <option selected="selected" value="{$product.id_product}">{$product.name}</option>
{/foreach} {/foreach}
</select> </select>
<span class="hint" name="help_box">{l s='Double-click to move to other column'}<span class="hint-pointer">&nbsp;</span></span> <span class="hint" name="help_box">{l s='Double-click to move to other column'}<span class="hint-pointer">&nbsp;</span></span>
@@ -78,7 +78,7 @@
}); });
$('#tag_form').submit(function() $('#tag_form').submit(function()
{ {
$('#select_left option').each(function(i){ $('#select_right option').each(function(i){
$(this).attr("selected", "selected"); $(this).attr("selected", "selected");
}); });
}); });