mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 03:30:42 +00:00
Add support for key views and tabbing
This commit is contained in:
1 parent
d0399eb902
commit
822a4310cd
1 file changed
+1
-3
@@ -199,6 +199,7 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
{
|
||||
[CPTextFieldInputOwner sendAction:[CPTextFieldInputOwner action] to:[CPTextFieldInputOwner targer]];
|
||||
[[CPTextFieldInputOwner window] makeFirstResponder:nil];
|
||||
CPTextFieldInputOwner = nil;
|
||||
}
|
||||
else if (anEvent && anEvent.keyCode == CPTabKeyCode)
|
||||
{
|
||||
@@ -209,7 +210,6 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
}
|
||||
|
||||
[[CPRunLoop currentRunLoop] limitDateForMode:CPDefaultRunLoopMode];
|
||||
CPTextFieldInputOwner = nil;
|
||||
}
|
||||
|
||||
if (document.attachEvent)
|
||||
@@ -504,8 +504,6 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
|
||||
_DOMElement.removeChild(element);
|
||||
|
||||
CPTextFieldInputOwner = nil;
|
||||
|
||||
#endif
|
||||
|
||||
//post CPControlTextDidEndEditingNotification
|
||||
|
||||
Reference in new issue
Block a user