Added support for broadcasting an array of queries, added multi query support to stringquery panel

This commit is contained in:
Rashid Khan
2013-02-21 15:26:48 -07:00
parent bf25b75391
commit ce5273b7df
16 changed files with 101 additions and 41 deletions
+16
View File
@@ -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());
});
});
}
};
});
;