Created
March 11, 2009 06:38
-
-
Save angerman/77348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- replace onward from line 429 of CPTextField | |
element.onblur = function () | |
{ | |
console.log("blur start"); | |
[self setObjectValue:element.value]; | |
[self sendAction:[self action] to:[self target]]; | |
[[self window] makeFirstResponder:nil]; | |
[[CPRunLoop currentRunLoop] limitDateForMode:CPDefaultRunLoopMode]; | |
console.log("blur end"); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment