mirror of https://github.com/grafana/grafana
fix(ngblur): removed ngblur directive as it conflicted with angular naitive directive, fixes #2429
parent
29c833d623
commit
874503ca68
@ -1,20 +0,0 @@ |
||||
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}); |
||||
}); |
||||
}); |
||||
}; |
||||
}]); |
||||
|
||||
}); |
Loading…
Reference in new issue