added the ability to edit filters, added field filter and modified table to use it

This commit is contained in:
Rashid Khan
2013-07-29 15:29:11 -07:00
parent ceaf090af7
commit 333704237b
4 changed files with 37 additions and 11 deletions
+9
View File
@@ -48,4 +48,13 @@ angular.module('kibana.filtering', [])
return !_.contains(['type','id','alias','mandate','active','editing'],key);
};
$scope.isEditable = function(filter) {
var uneditable = ['time'];
if(_.contains(uneditable,filter.type)) {
return false;
} else {
return true;
}
};
});