mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Temporary fix for #269
This commit is contained in:
1 parent
6d8d4b59cc
commit
1cf40a7d7a
1 file changed
+3
@@ -453,6 +453,9 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
/* @ignore */
|
||||
- (BOOL)becomeFirstResponder
|
||||
{
|
||||
if (CPTextFieldInputOwner && [CPTextFieldInputOwner window] !== [self window])
|
||||
[[CPTextFieldInputOwner window] makeFirstResponder:nil];
|
||||
|
||||
_controlState |= CPControlStateEditing;
|
||||
|
||||
[self _updatePlaceholderState];
|
||||
|
||||
Reference in new issue
Block a user