[-] BugFix : Problem on changing warehouse in admin stock instant state

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9575 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-10-24 08:53:35 +00:00
parent feee8cb438
commit 7151022505
2 changed files with 5 additions and 2 deletions
@@ -24,11 +24,11 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{if count($list_warehouses) > 1}
<form type="get" onchange="submit();">
<form type="get">
<label for="wareouse">{l s="Select a warehouse:"}</label>
<input type="hidden" name="controller" value="AdminStockInstantState" />
<input type="hidden" name="token" value="{$token}" />
<select name="warehouse">
<select name="warehouse" onchange="$(this).parent().submit();">
{foreach $list_warehouses as $warehouse}
<option {if $warehouse.id_warehouse == $current_warehouse}selected="selected"{/if} value="{$warehouse.id_warehouse}">{$warehouse.name}</option>
{/foreach}