浏览代码

[hbase] query reload fix

Kevin Wang 12 年之前
父节点
当前提交
d3ab937
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      apps/hbase/static/js/controls.js

+ 1 - 0
apps/hbase/static/js/controls.js

@@ -144,6 +144,7 @@ var SmartViewModel = function(options)
   self.searchQuery.subscribe(function goToRow(value) //make this as nice as the renderfucnction and split into two, also fire not down on keyup events
   {
     var inputs = value.split(searchRenderers['rowkey']['select']);
+    self.querySet.removeAll();
     for(var i=0;i<inputs.length;i++)
     {
       if(inputs[i].trim() != "" && inputs[i].trim() != ',')