Masafumi Yokoyama
null+****@clear*****
Sat Feb 13 11:27:30 JST 2016
Masafumi Yokoyama 2016-02-13 11:27:30 +0900 (Sat, 13 Feb 2016) New Revision: d107b8a8fd5200176b9754e5d9d32ed653f5cb8e https://github.com/groonga/grafana-datasource-plugin-groonga/commit/d107b8a8fd5200176b9754e5d9d32ed653f5cb8e Message: Update table name of query by form Modified files: partials/query.editor.html query_ctrl.js Modified: partials/query.editor.html (+1 -1) =================================================================== --- partials/query.editor.html 2016-02-13 11:01:25 +0900 (c4f5667) +++ partials/query.editor.html 2016-02-13 11:27:30 +0900 (56f46bf) @@ -15,7 +15,7 @@ class="tight-form-input input-medium" ng-model="table" ng-model-onblur - ng-change="get_data()" + ng-change="update()" spellcheck='false' placeholder="Logs"> </li> Modified: query_ctrl.js (+6 -0) =================================================================== --- query_ctrl.js 2016-02-13 11:01:25 +0900 (175b50f) +++ query_ctrl.js 2016-02-13 11:27:30 +0900 (fd96110) @@ -13,6 +13,12 @@ function (angular) { $scope.target.table = 'Logs'; }; + $scope.update = function () { + console.log('update'); + $scope.target.table = $scope.table; + $scope.get_data(); + } + $scope.init(); }); -------------- next part -------------- HTML����������������������������... Download