Merge pull request #2010 from daboe01/fix-textFields-on-different-windows-can-clobber-each-others-contents

Fixed: editing textFields on different windows can clobber each others contents
This commit is contained in:
Antoine Mercadal committed 2013-10-29 11:23:00 -07:00
commit 24b44c2acf
1 file changed
+1 -1
+1 -1
View File
@@ -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,