ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [10/10] ignite git commit: IGNITE-843 Fixed simple-table lost data on focus-lost -> focus-gain
Date Mon, 28 Dec 2015 14:01:55 GMT
IGNITE-843 Fixed simple-table lost data on focus-lost -> focus-gain


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

Branch: refs/heads/ignite-843-rc2
Commit: bafcb87ca0ae57871b024d785127a3e25983a75f
Parents: 8ae4faa
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Dec 28 21:01:32 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Dec 28 21:01:32 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/models/caches.json                | 2 ++
 .../src/main/js/controllers/models/clusters.json              | 7 ++++++-
 .../src/main/js/views/includes/controls.jade                  | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/bafcb87c/modules/control-center-web/src/main/js/controllers/models/caches.json
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/models/caches.json b/modules/control-center-web/src/main/js/controllers/models/caches.json
index 76ccce4..9f2a65c 100644
--- a/modules/control-center-web/src/main/js/controllers/models/caches.json
+++ b/modules/control-center-web/src/main/js/controllers/models/caches.json
@@ -367,6 +367,7 @@
           "label": "SQL functions",
           "id": "sqlFunctionClasses",
           "type": "table-simple",
+          "ui": "table-simple",
           "model": "sqlFunctionClasses",
           "placeholder": "SQL function full class name",
           "focusId": "SqlFx",
@@ -549,6 +550,7 @@
                   "label": "Hibernate properties",
                   "id": "hibernateProperties",
                   "type": "table-simple",
+                  "ui": "table-simple",
                   "path": "cacheStoreFactory.CacheHibernateBlobStoreFactory",
                   "model": "hibernateProperties",
                   "placeholder": "key=value",

http://git-wip-us.apache.org/repos/asf/ignite/blob/bafcb87c/modules/control-center-web/src/main/js/controllers/models/clusters.json
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/models/clusters.json b/modules/control-center-web/src/main/js/controllers/models/clusters.json
index dcea6b6..7c3ea1e 100644
--- a/modules/control-center-web/src/main/js/controllers/models/clusters.json
+++ b/modules/control-center-web/src/main/js/controllers/models/clusters.json
@@ -54,6 +54,7 @@
                 {
                   "label": "Addresses",
                   "type": "table-simple",
+                  "ui": "table-simple",
                   "path": "discovery.Vm",
                   "model": "addresses",
                   "reordering": true,
@@ -140,6 +141,7 @@
                 {
                   "label": "Addresses",
                   "type": "table-simple",
+                  "ui": "table-simple",
                   "path": "discovery.Multicast",
                   "model": "addresses",
                   "reordering": true,
@@ -232,6 +234,7 @@
                 {
                   "label": "Regions",
                   "type": "table-simple",
+                  "ui": "table-simple",
                   "path": "discovery.Cloud",
                   "model": "regions",
                   "placeholder": "Region name",
@@ -249,8 +252,8 @@
                 },
                 {
                   "label": "Zones",
-                  "ui": "table-simple",
                   "type": "table-simple",
+                  "ui": "table-simple",
                   "path": "discovery.Cloud",
                   "model": "zones",
                   "placeholder": "Zone name",
@@ -1070,6 +1073,7 @@
           "label": "Local class path exclude",
           "id": "peerClassLoadingLocalClassPathExclude",
           "type": "table-simple",
+          "ui": "table-simple",
           "model": "peerClassLoadingLocalClassPathExclude",
           "hide": "!backupItem.peerClassLoadingEnabled",
           "focusId": "PeerClsPathExclude",
@@ -1600,6 +1604,7 @@
         {
           "label": "Trust managers",
           "type": "table-simple",
+          "ui": "table-simple",
           "path": "sslContextFactory",
           "model": "trustManagers",
           "placeholder": "Trust manager",

http://git-wip-us.apache.org/repos/asf/ignite/blob/bafcb87c/modules/control-center-web/src/main/js/views/includes/controls.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/views/includes/controls.jade b/modules/control-center-web/src/main/js/views/includes/controls.jade
index 3384257..b816859 100644
--- a/modules/control-center-web/src/main/js/views/includes/controls.jade
+++ b/modules/control-center-web/src/main/js/views/includes/controls.jade
@@ -215,7 +215,7 @@ mixin details-row(lblClasses, fieldClasses)
                                     label.placeholder {{::detail.placeholder}}
                                     +btn-save('tableSimpleSaveVisible(detail, -1)', 'tableSimpleSave(tableSimpleValid,
backupItem, detail, -1)')
                                     .input-tip.form-group.has-feedback
-                                        input.form-control(id='new{{::detail.focusId}}' name='{{detail.model}}'
type='text' ng-model='detail.newValue' ng-focus='tableNewItem(detail)' placeholder='{{::detail.placeholder}}'
on-enter='tableSimpleSaveVisible(detail, -1) && tableSimpleSave(tableSimpleValid,
backupItem, detail, -1)' on-escape='tableReset()')&attributes(customValidators)
+                                        input.form-control(id='new{{::detail.focusId}}' name='{{detail.model}}'
type='text' ng-model='detail.newValue' placeholder='{{::detail.placeholder}}' on-enter='tableSimpleSaveVisible(detail,
-1) && tableSimpleSave(tableSimpleValid, backupItem, detail, -1)' on-escape='tableReset()')&attributes(customValidators)
                                         +ico-exclamation('{{detail.model}}', 'ipaddress',
'Invalid address, see help for format description.')
 
 mixin table-db-field-edit(prefix, focusId, index)


Mime
View raw message