mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
Fix for the last commit, where null values were displayed as n instead of an empty string.
This commit is contained in:
@@ -439,15 +439,15 @@ var _CPTextFieldSquareBezelColor = nil;
|
||||
@ignore
|
||||
*/
|
||||
- (void)setObjectValue:(id)aValue
|
||||
{
|
||||
{CPLog(aValue);
|
||||
[super setObjectValue:aValue];
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
var displayString = "";
|
||||
|
||||
if ([aValue respondsToSelector:@selector(string)])
|
||||
if (aValue && [aValue respondsToSelector:@selector(string)])
|
||||
displayString = [aValue string];
|
||||
else
|
||||
else if (aValue)
|
||||
displayString += aValue;
|
||||
|
||||
if (CPFeatureIsCompatible(CPJavascriptInnerTextFeature))
|
||||
|
||||
Reference in New Issue
Block a user