Fixed: "cannot read property '_tokenScrollView' of null."

This error could occur when interacting with token fields.
This commit is contained in:
Alexander Ljungberg committed 2013-02-08 00:34:25 +00:00
1 parent 4991913f45
commit baa69ff3bc
1 file changed
+1 -1
+1 -1
View File
@@ -659,7 +659,7 @@ CPTokenFieldDeleteButtonType = 1;
return CPTextFieldBlurFunction(
anEvent,
CPTokenFieldInputOwner,
[CPTokenFieldInputOwner._tokenScrollView documentView]._DOMElement,
CPTokenFieldInputOwner ? [CPTokenFieldInputOwner._tokenScrollView documentView]._DOMElement : nil,
CPTokenFieldDOMInputElement,
CPTokenFieldInputResigning,
AT_REF(CPTokenFieldInputDidBlur));