ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Set focus to SQL editor after execute SQL.
Date Fri, 25 Sep 2015 10:02:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 2eec7bb13 -> 8721cb529


IGNITE-843 Set focus to SQL editor after execute SQL.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8721cb52
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8721cb52
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8721cb52

Branch: refs/heads/ignite-843
Commit: 8721cb529a1cf98d67789a365db0016853323a39
Parents: 2eec7bb
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Fri Sep 25 17:02:22 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Sep 25 17:02:22 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/sql-controller.js                  | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/8721cb52/modules/control-center-web/src/main/js/controllers/sql-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/sql-controller.js b/modules/control-center-web/src/main/js/controllers/sql-controller.js
index 0545cdd..1e4bbf0 100644
--- a/modules/control-center-web/src/main/js/controllers/sql-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/sql-controller.js
@@ -463,6 +463,8 @@ controlCenterModule.controller('sqlController',
 
                 $scope.stopRefresh(paragraph);
             });
+
+        paragraph.ace.focus();
     };
 
     $scope.explain = function (paragraph) {
@@ -477,6 +479,8 @@ controlCenterModule.controller('sqlController',
             .error(function (errMsg) {
                 paragraph.errMsg = errMsg;
             });
+
+        paragraph.ace.focus();
     };
 
     $scope.scan = function (paragraph) {
@@ -491,6 +495,8 @@ controlCenterModule.controller('sqlController',
             .error(function (errMsg) {
                 paragraph.errMsg = errMsg;
             });
+
+        paragraph.ace.focus();
     };
 
     $scope.nextPage = function(item) {


Mime
View raw message