You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by se...@apache.org on 2015/07/24 15:46:22 UTC

[11/16] incubator-ignite git commit: IGNITE-843: Fixed metadata "both" mode.

IGNITE-843: Fixed metadata "both" mode.


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

Branch: refs/heads/ignite-1121
Commit: 3c6f5383a00f335f965b6e03024e8e132f089bc5
Parents: 07d9499
Author: AKuznetsov <ak...@gridgain.com>
Authored: Thu Jul 23 18:20:25 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Thu Jul 23 18:20:25 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/models/metadata.json  | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3c6f5383/modules/web-control-center/src/main/js/controllers/models/metadata.json
----------------------------------------------------------------------
diff --git a/modules/web-control-center/src/main/js/controllers/models/metadata.json b/modules/web-control-center/src/main/js/controllers/models/metadata.json
index bd6d7a0..b002aeb 100644
--- a/modules/web-control-center/src/main/js/controllers/models/metadata.json
+++ b/modules/web-control-center/src/main/js/controllers/models/metadata.json
@@ -50,7 +50,7 @@
       "label": "Database schema",
       "type": "text",
       "model": "databaseSchema",
-      "hide": "backupItem.kind == 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind == 'query'",
       "placeholder": "Input DB schema name",
       "tip": [
         "Schema name in database."
@@ -60,7 +60,7 @@
       "label": "Database table",
       "type": "text",
       "model": "databaseTable",
-      "hide": "backupItem.kind == 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind == 'query'",
       "placeholder": "Input DB table name",
       "tip": [
         "Table name in database."
@@ -92,7 +92,7 @@
       "model": "keyFields",
       "keyName": "name",
       "valueName": "className",
-      "hide": "backupItem.kind == 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind == 'query'",
       "tip": [
         "Collection of key fields descriptions for CacheJdbcPojoStore."
       ]
@@ -103,7 +103,7 @@
       "model": "valueFields",
       "keyName": "name",
       "valueName": "className",
-      "hide": "backupItem.kind == 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind == 'query'",
       "tip": [
         "Collection of value fields descriptions for CacheJdbcPojoStore.."
       ]
@@ -114,7 +114,7 @@
       "model": "queryFields",
       "keyName": "name",
       "valueName": "className",
-      "hide": "backupItem.kind != 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind != 'query'",
       "addTip": "Add field to query.",
       "removeTip": "Remove field.",
       "tip": [
@@ -127,7 +127,7 @@
       "model": "ascendingFields",
       "keyName": "name",
       "valueName": "className",
-      "hide": "backupItem.kind != 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind != 'query'",
       "addTip": "Add field to index in ascending order.",
       "removeTip": "Remove field.",
       "tip": [
@@ -140,7 +140,7 @@
       "model": "descendingFields",
       "keyName": "name",
       "valueName": "className",
-      "hide": "backupItem.kind != 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind != 'query'",
       "addTip": "Add field to index in descending order.",
       "removeTip": "Remove field.",
       "tip": [
@@ -151,7 +151,7 @@
       "label": "Text fields",
       "type": "table-simple",
       "model": "textFields",
-      "hide": "backupItem.kind != 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind != 'query'",
       "placeholder": "Field name",
       "addTip": "Add field to index as text.",
       "removeTip": "Remove field.",
@@ -166,7 +166,7 @@
       "label": "Groups",
       "type": "queryGroups",
       "model": "groups",
-      "hide": "backupItem.kind != 'query'",
+      "hide": "backupItem.kind != 'both' && backupItem.kind != 'query'",
       "addTip": "Add new group index.",
       "removeTip": "Remove group.",
       "tip": [