Explorar el Código

161010
fix: cart move to wish==> set count ==>crash

Ray Zhang hace 9 años
padre
commit
1aae3251f5
Se han modificado 1 ficheros con 4 adiciones y 13 borrados
  1. 4 13
      RedAnt ERP Mobile/common/Functions/cart/CartViewController.m

+ 4 - 13
RedAnt ERP Mobile/common/Functions/cart/CartViewController.m

@@ -1760,23 +1760,14 @@
                             appDelegate.cart_count--;
                             appDelegate.cart_count--;
                             [appDelegate update_count_mark];
                             [appDelegate update_count_mark];
                             
                             
+                            
                             [self refresh_total];
                             [self refresh_total];
                         }
                         }
                         
                         
                     }
                     }
-                    //[self.itemListTable reloadData];
-                    //                    if(self.WatchlistBlock!=nil)
-                    //                    {
-                    //                        UIImage* img=[self photoStackView:self.photoStack photoForIndex:0];
-                    //
-                    //
-                    //                        CGRect iv_rect = CGRectMake(self.btnaddWish.center.x-50, self.btnaddWish.center.y-50, 100, 100);
-                    //                        UIImageView* iv = [[UIImageView alloc] initWithFrame:iv_rect];
-                    //                        iv.image = img;
-                    //                        //                        [self.contentView addSubview:iv];
-                    //                        self.WatchlistBlock(iv);
-                    //
-                    //                    }
+                    
+                    [self.itemListTable reloadData];
+
                 }
                 }
                 else
                 else
                 {
                 {