Added onblur and fixed quote escaping. Closes #228 closes #232

This commit is contained in:
Rashid Khan
2013-07-18 07:57:15 -07:00
parent c03373c692
commit dce884f526
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ angular.module('kibana.table', [])
var query;
// This needs to be abstracted somewhere
if(_.isArray(value)) {
query = field+":(" + _.map(value,function(v){return "\""+v+"\""}).join(",") + ")";
query = field+":(" + _.map(value,function(v){return angular.toJson("\""+v+"\"")}).join(",") + ")";
} else {
query = field+":"+angular.toJson(value);
}