ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [02/29] ignite git commit: IGNITE-843 Fixed update of next button state on schema table filtering.
Date Fri, 12 Feb 2016 09:54:28 GMT
IGNITE-843 Fixed update of next button state on schema table filtering.


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

Branch: refs/heads/ignite-843-rc3
Commit: 0ea9dbe064fbe832a5496a145ea8cc147e808f61
Parents: 07b4b85
Author: Vasiliy Sisko <vsisko@gridgain.com>
Authored: Fri Feb 12 08:46:01 2016 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Fri Feb 12 08:46:01 2016 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/domains-controller.js               | 5 +++--
 .../src/main/js/views/configuration/igfs.jade                   | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/0ea9dbe0/modules/control-center-web/src/main/js/controllers/domains-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/domains-controller.js b/modules/control-center-web/src/main/js/controllers/domains-controller.js
index c427307..cc7ed92 100644
--- a/modules/control-center-web/src/main/js/controllers/domains-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/domains-controller.js
@@ -1053,12 +1053,13 @@ consoleModule.controller('domainsController', function ($filter, $http,
$timeout
 
             switch ($scope.importDomain.action) {
                 case 'schemas':
-                    res = $common.isEmptyArray($scope.importDomain.schemas) || $('#importSchemasData').find(':checked').length
> 0;
+                    res = $common.isEmptyArray($scope.importDomain.schemas) ||
+                        _.find($scope.importDomain.displayedSchemas, {use: true});
 
                     break;
 
                 case 'tables':
-                    res = $('#importTableData').find(':checked').length > 0;
+                    res = _.find($scope.importDomain.displayedTables, {use: true});
 
                     break;
             }

http://git-wip-us.apache.org/repos/asf/ignite/blob/0ea9dbe0/modules/control-center-web/src/main/js/views/configuration/igfs.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/views/configuration/igfs.jade b/modules/control-center-web/src/main/js/views/configuration/igfs.jade
index 1bbff08..1a9d262 100644
--- a/modules/control-center-web/src/main/js/views/configuration/igfs.jade
+++ b/modules/control-center-web/src/main/js/views/configuration/igfs.jade
@@ -23,6 +23,7 @@ include ../includes/infos
     +ignite-igfs-information
     div(dw-loading='loadingIgfsScreen' dw-loading-options='{text: "Loading IGFS screen...",
className: "page-loading-overlay"}')
         div(ng-show='ui.ready')
+            hr
             +main-table('IGFS', 'igfss', 'igfsName', 'selectItem(row)', '{{$index + 1}})
{{row.name}}', 'name')
             .padding-top-dflt(bs-affix)
                 .panel-tip-container(data-placement='bottom' bs-tooltip='' data-title='Create
new IGFS')


Mime
View raw message