$timeout(function() {element[0].focus()});
});
element.bind('blur', function() {
- scope.$apply(model.assign(scope, false));
+ $timeout(function() {
+ scope.$apply(model.assign(scope, false));
+ });
})
}
};
$timeout(function() {element[0].blur()});
});
element.bind('focus', function() {
- scope.$apply(model.assign(scope, false));
+ $timeout(function() {
+ scope.$apply(model.assign(scope, false));
+ });
})
}
};
$timeout(function() {element[0].select()});
});
element.bind('blur', function() {
- scope.$apply(model.assign(scope, false));
+ $timeout(function() {
+ scope.$apply(model.assign(scope, false));
+ });
})
}
};