Commit 697466fe authored by A. Wilcox's avatar A. Wilcox

iUI: ItemVC: Tag/material cells:

- Set selection style to grey
- Ensure title is set even if not editing
- Reload when view appears (to ensure count stays updated)
parent 813a9559
......@@ -303,6 +303,7 @@ extern const char *site_names[3];
if(item != nil)
{
[self updatePriceCells];
[self updateCategoryCells];
[self updateShippingCells];
......@@ -1207,6 +1208,7 @@ extern const char *site_names[3];
cell.editableTextField.leftView = nil;
cell.textEditingStyle = WTEditableCellEditingStyleNone;
cell.accessoryType = cell.editingAccessoryType = UITableViewCellAccessoryDisclosureIndicator;
cell.selectionStyle = UITableViewCellSelectionStyleGray;
cell.tag = CELLTAG_TAGS;
[priceSectionCells addObject:cell];
......@@ -1220,6 +1222,7 @@ extern const char *site_names[3];
cell.editableTextField.leftView = nil;
cell.textEditingStyle = WTEditableCellEditingStyleNone;
cell.accessoryType = cell.editingAccessoryType = UITableViewCellAccessoryDisclosureIndicator;
cell.selectionStyle = UITableViewCellSelectionStyleGray;
cell.tag = CELLTAG_MATERIALS;
[priceSectionCells addObject:cell];
......@@ -2447,11 +2450,10 @@ extern const char *site_names[3];
tagList.editing = self.isEditing;
if(self.isEditing)
{
tagList.maxItems = 13;
tagList.objectName = @"Tag";
tagList.title = @"Listing Tags";
}
tagList.objectName = @"Tag";
tagList.title = @"Listing Tags";
[self.navigationController pushViewController:tagList animated:YES];
[tagList release];
......@@ -2475,11 +2477,10 @@ extern const char *site_names[3];
materialList.editing = self.isEditing;
if(self.isEditing)
{
materialList.maxItems = 13;
materialList.objectName = @"Material";
materialList.title = @"Materials";
}
materialList.objectName = @"Material";
materialList.title = @"Materials";
[self.navigationController pushViewController:materialList animated:YES];
[materialList release];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment