This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new fdf0d8f KYLIN-4510 Automatically refresh the page after reload table fdf0d8f is described below commit fdf0d8f3e5d1574123f8c293f861a58bb35e0f06 Author: Guangxu Cheng <gxch...@apache.org> AuthorDate: Thu May 21 09:50:44 2020 +0800 KYLIN-4510 Automatically refresh the page after reload table --- webapp/app/js/controllers/sourceMeta.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/app/js/controllers/sourceMeta.js b/webapp/app/js/controllers/sourceMeta.js index 1c538ea..7b960de 100755 --- a/webapp/app/js/controllers/sourceMeta.js +++ b/webapp/app/js/controllers/sourceMeta.js @@ -419,8 +419,9 @@ KylinApp } $scope.confirmReload = function() { + $scope.cancel(); scope.reloadTable($scope.selectTable, $scope.isCalculate.val).then(function() { - $scope.cancel(); + scope.aceSrcTbLoaded(true); }) } @@ -450,9 +451,6 @@ KylinApp scope.aceSrcTbLoaded(true); }); } - - - }; $scope.editStreamingConfig = function(tableName){