Browse Source

160805
add offline filter

Ray Zhang 9 years ago
parent
commit
8ff3e9a6c1

+ 6 - 6
RedAnt ERP Mobile/common/Functions/category/CategoryViewController.m

@@ -145,12 +145,12 @@
     AppDelegate *appDelegate = (AppDelegate *)[app delegate];
     
     
-    if(appDelegate.offline_mode)
-    {
-        [RAUtils message_alert:@"offline mode does not support this function." title:@"Category Filter" controller:self] ;
-        
-        return;
-    }
+//    if(appDelegate.offline_mode)
+//    {
+//        [RAUtils message_alert:@"offline mode does not support this function." title:@"Category Filter" controller:self] ;
+//        
+//        return;
+//    }
     
     NSMutableDictionary* menu =             [appDelegate.categoryMenu mutableCopy];
     

+ 6 - 6
RedAnt ERP Mobile/common/Functions/search+itemsearch/ItemSearchViewController.m

@@ -302,12 +302,12 @@
     AppDelegate *appDelegate = (AppDelegate *)[app delegate];
     
     
-    if(appDelegate.offline_mode)
-    {
-        [RAUtils message_alert:@"offline mode does not support this function." title:@"Item Search Filter" controller:self] ;
-        
-        return;
-    }
+//    if(appDelegate.offline_mode)
+//    {
+//        [RAUtils message_alert:@"offline mode does not support this function." title:@"Item Search Filter" controller:self] ;
+//        
+//        return;
+//    }
     
     ItemSearchFilterViewController * filterVC =[ self.storyboard instantiateViewControllerWithIdentifier:@"ItemSearchFilterViewController"];