mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
Fixed: editing textFields on different windows can clobber each others contents
Was be caused by resignFirstResponder not checking that the input owner is self. Fixes #1983
This commit is contained in:
1 parent
0ac74fe16e
commit
d1406e1b8f
1 file changed
+1
-1
@@ -692,7 +692,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
// We might have been the first responder without actually editing.
|
||||
if (_isEditing)
|
||||
if (_isEditing && CPTextFieldInputOwner === self)
|
||||
{
|
||||
var element = [self _inputElement],
|
||||
newValue = element.value,
|
||||
|
||||
Reference in new issue
Block a user