Added support for broadcasting an array of queries, added multi query support to stringquery panel
This commit is contained in:
@@ -66,5 +66,21 @@ angular.module('kibana.directives', [])
|
||||
}
|
||||
}
|
||||
}
|
||||
}).directive('ngModelOnblur', function() {
|
||||
return {
|
||||
restrict: 'A',
|
||||
require: 'ngModel',
|
||||
link: function(scope, elm, attr, ngModelCtrl) {
|
||||
if (attr.type === 'radio' || attr.type === 'checkbox') return;
|
||||
|
||||
elm.unbind('input').unbind('keydown').unbind('change');
|
||||
elm.bind('blur', function() {
|
||||
scope.$apply(function() {
|
||||
ngModelCtrl.$setViewValue(elm.val());
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user