Fix errore qta persa senza cambiare particolare

This commit is contained in:
Samuele E. Locatelli
2015-10-27 10:20:20 +01:00
parent e7df840719
commit ffee1f87ee
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
<b><%: traduci("lblQtaPart") %></b>
</div>
<div class="panel-body">
<asp:TextBox runat="server" ID="txtQta" Height="56px" Width="100%" Font-Size="28pt" Style="text-align: center" AutoPostBack="true" TabIndex="1" />
<asp:TextBox runat="server" ID="txtQta" Height="56px" Width="100%" Font-Size="28pt" Style="text-align: center" TabIndex="1" AutoPostBack="true" />
</div>
</div>
</div>
+2 -3
View File
@@ -77,7 +77,7 @@ namespace GMW.WebUserControls
}
catch
{ }
if (qtaPart > 0)
if ((qtaPart > 0) && (qta == 0))
{
qta = Convert.ToInt32(qtaPart);
}
@@ -630,7 +630,6 @@ namespace GMW.WebUserControls
eh_reqUpdate(this, new EventArgs());
}
}
}
}