Author: gbayon
Date: Sun Jun 26 11:04:01 2005
New Revision: 201886

URL: http://svn.apache.org/viewcvs?rev=201886&view=rev
Log:
- Fixed issue in updated command when there's no change

Modified:
    ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Shopping/Cart.ascx.cs

Modified: 
ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Shopping/Cart.ascx.cs
URL: 
http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Shopping/Cart.ascx.cs?rev=201886&r1=201885&r2=201886&view=diff
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Shopping/Cart.ascx.cs 
(original)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Shopping/Cart.ascx.cs 
Sun Jun 26 11:04:01 2005
@@ -101,7 +101,6 @@
 
                                
_shoppingController.UpdateQuantityByItemId(itemId, quantity);
                        }
-                       DataBind();     
                }
 
                protected void RepeaterCart_ItemCommand(object source, 
System.Web.UI.WebControls.RepeaterCommandEventArgs e)
@@ -112,7 +111,7 @@
                        }
                        else if (e.CommandName == "update")
                        {
-                               //nothing to do 
+                               DataBind();     
                        }
                        else if (e.CommandName == "showItem")
                        {


Reply via email to