瀏覽代碼

SharePanel: fix for interval variables and auto value, Fixes #1056

Torkel Ödegaard 11 年之前
父節點
當前提交
104493e725
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/app/services/templateValuesSrv.js

+ 1 - 0
src/app/services/templateValuesSrv.js

@@ -30,6 +30,7 @@ function (angular, _, kbn) {
           var option = _.findWhere(variable.options, { text: urlValue });
           var option = _.findWhere(variable.options, { text: urlValue });
           option = option || { text: urlValue, value: urlValue };
           option = option || { text: urlValue, value: urlValue };
           this.setVariableValue(variable, option, true);
           this.setVariableValue(variable, option, true);
+          this.updateAutoInterval(variable);
         }
         }
         else if (variable.refresh) {
         else if (variable.refresh) {
           this.updateOptions(variable);
           this.updateOptions(variable);