Commit 874503ca by Torkel Ödegaard

fix(ngblur): removed ngblur directive as it conflicted with angular naitive directive, fixes #2429

parent 29c833d6
......@@ -2,7 +2,6 @@ define([
'./arrayJoin',
'./dashUpload',
'./grafanaSimplePanel',
'./ngBlur',
'./dashEditLink',
'./ngModelOnBlur',
'./misc',
......
define([
'angular'
],
function (angular) {
'use strict';
angular
.module('grafana.directives')
.directive('ngBlur', ['$parse', function($parse) {
return function(scope, element, attr) {
var fn = $parse(attr['ngBlur']);
element.bind('blur', function(event) {
scope.$apply(function() {
fn(scope, {$event:event});
});
});
};
}]);
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment