Developer Area

Show
Ignore:
Timestamp:
01/29/09 16:18:58 (5 years ago)
Author:
henri
Message:

Showing better disabled editing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/my.tel/trunk/Classes/KeywordEditController.m

    r201 r214  
    4646                theKeyword = [[NSMutableDictionary dictionaryWithCapacity:8] retain]; 
    4747                barHeader.title = @"New Item"; 
     48                barButtonSave.enabled = TRUE; 
    4849                rValue.text = @""; 
    4950                rValue.textColor = [UIColor blackColor]; 
     
    5354                [self displaySecondaryViewAtIndex:primaryKeywords.selectedSegmentIndex]; 
    5455        } else { // edit 
     56                // TODO: Allow editing of keywords 
    5557                if (!aRec) { 
    5658                        NSLog(@"Missing record for KeywordEditController"); 
     
    6163                [theKeyword setDictionary:aRec]; 
    6264                editKeywordType.text = [[caller delegateKeywordTypes] objectForKey:[theKeyword objectForKey:@"field"]]; 
    63                 barHeader.title = @"Edit Item"; 
     65                barHeader.title = @"View Keyword"; 
     66                barButtonSave.enabled = FALSE; 
    6467                [theKeyword setObject:[VIPConnect sharedInstance].selectedDomain forKey:@"domain"]; 
    6568                rValue.text = [theKeyword objectForKey:@"value"]; 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us