Changeset 214 for apps/iphone/my.tel/trunk
- Timestamp:
- 01/29/09 16:18:58 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
apps/iphone/my.tel/trunk/Classes/KeywordEditController.m
r201 r214 46 46 theKeyword = [[NSMutableDictionary dictionaryWithCapacity:8] retain]; 47 47 barHeader.title = @"New Item"; 48 barButtonSave.enabled = TRUE; 48 49 rValue.text = @""; 49 50 rValue.textColor = [UIColor blackColor]; … … 53 54 [self displaySecondaryViewAtIndex:primaryKeywords.selectedSegmentIndex]; 54 55 } else { // edit 56 // TODO: Allow editing of keywords 55 57 if (!aRec) { 56 58 NSLog(@"Missing record for KeywordEditController"); … … 61 63 [theKeyword setDictionary:aRec]; 62 64 editKeywordType.text = [[caller delegateKeywordTypes] objectForKey:[theKeyword objectForKey:@"field"]]; 63 barHeader.title = @"Edit Item"; 65 barHeader.title = @"View Keyword"; 66 barButtonSave.enabled = FALSE; 64 67 [theKeyword setObject:[VIPConnect sharedInstance].selectedDomain forKey:@"domain"]; 65 68 rValue.text = [theKeyword objectForKey:@"value"];








