Temporary fix for #269

This commit is contained in:
Ross Boucher committed 2009-04-17 12:23:31 -07:00
1 parent 6d8d4b59cc
commit 1cf40a7d7a
1 file changed
+3
+3
View File
@@ -453,6 +453,9 @@ CPTextFieldStatePlaceholder = 1 << 13;
/* @ignore */
- (BOOL)becomeFirstResponder
{
if (CPTextFieldInputOwner && [CPTextFieldInputOwner window] !== [self window])
[[CPTextFieldInputOwner window] makeFirstResponder:nil];
_controlState |= CPControlStateEditing;
[self _updatePlaceholderState];