645f3f28 by Adam Heath

Even when there is no target, we should note the path as being seen.

1 parent 3c1a9693
......@@ -43,9 +43,7 @@ define(function(require) {
render(el, 'focus', false);
},
blur: function() {
if (observer.target) {
holder.seen[observer.key.path] = true;
}
holder.seen[observer.key.path] = true;
render(el, 'blur', false);
if (observer.target) {
observer.target.validate();
......@@ -53,7 +51,7 @@ define(function(require) {
},
validated: function(isValid, model, errors) {
var errorList = errors[observer.key.path];
if (errorList && observer.target && holder.seen[holder.observer.key.path]) {
if (errorList && holder.seen[holder.observer.key.path]) {
render(el, 'validated', errorList);
} else {
render(el, 'validated', false);
......