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/15 21:17:14 UTC

[26/45] incubator-ignite git commit: IGNITE-843 Rename checked to placeholder + typo fix.

IGNITE-843 Rename checked to placeholder + typo fix.


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

Branch: refs/heads/ignite-1121
Commit: 056e25ad729f6041f432ef73894e5ad5f7ad87a3
Parents: dbc6b5b
Author: AKuznetsov <ak...@gridgain.com>
Authored: Wed Jul 15 10:43:06 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Wed Jul 15 10:43:06 2015 +0700

----------------------------------------------------------------------
 modules/web-control-center/nodejs/controllers/models/caches.json | 4 ++--
 modules/web-control-center/nodejs/views/includes/controls.jade   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/056e25ad/modules/web-control-center/nodejs/controllers/models/caches.json
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/controllers/models/caches.json b/modules/web-control-center/nodejs/controllers/models/caches.json
index 0b1d57a..c8fb9cd 100644
--- a/modules/web-control-center/nodejs/controllers/models/caches.json
+++ b/modules/web-control-center/nodejs/controllers/models/caches.json
@@ -54,7 +54,7 @@
       "label": "Read from backup",
       "type": "check",
       "model": "readFromBackup",
-      "checked": true,
+      "placeholder": true,
       "hide": "!backupItem.backups || backupItem.mode == 'LOCAL'",
       "tip": [
         "Flag indicating whether data can be read from backup.",
@@ -65,7 +65,7 @@
       "label": "Copy on read",
       "type": "check",
       "model": "copyOnRead",
-      "checked": true,
+      "placeholder": true,
       "tip": [
         "Flag indicating whether copy of of the value stored in cache should be created for cache operation implying return value.",
         "Also if this flag is set copies are created for values passed to CacheInterceptor and to CacheEntryProcessor."

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/056e25ad/modules/web-control-center/nodejs/views/includes/controls.jade
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/views/includes/controls.jade b/modules/web-control-center/nodejs/views/includes/controls.jade
index 2b79208..0fcf78a 100644
--- a/modules/web-control-center/nodejs/views/includes/controls.jade
+++ b/modules/web-control-center/nodejs/views/includes/controls.jade
@@ -102,7 +102,7 @@ mixin form-row
     div(ng-switch='field.type')
         div.checkbox.col-sm-6(ng-switch-when='check' ng-hide=fieldHide)
             label
-                input(type='checkbox' ng-checked='#{fieldMdl} = field.checked')&attributes(fieldCommon)
+                input(type='checkbox' ng-checked='field.placeholder')&attributes(fieldCommon)
                 | {{field.label}}
                 +tipLabel('field.tip')
         div(ng-switch-when='text' ng-hide=fieldHide)