You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2015/06/17 09:32:10 UTC

incubator-ignite git commit: # IGNITE-843 Disable [Add] button if empty new item.

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 53d301db0 -> 32f16859e


# IGNITE-843 Disable [Add] button if empty new item.


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

Branch: refs/heads/ignite-843
Commit: 32f16859e0b4b53d5710ea5207a762d431674ae6
Parents: 53d301d
Author: AKuznetsov <ak...@gridgain.com>
Authored: Wed Jun 17 14:32:00 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Wed Jun 17 14:32:00 2015 +0700

----------------------------------------------------------------------
 modules/webconfig/nodejs/views/includes/controls.jade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/32f16859/modules/webconfig/nodejs/views/includes/controls.jade
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/views/includes/controls.jade b/modules/webconfig/nodejs/views/includes/controls.jade
index 02d4564..be9d367 100644
--- a/modules/webconfig/nodejs/views/includes/controls.jade
+++ b/modules/webconfig/nodejs/views/includes/controls.jade
@@ -141,5 +141,5 @@ mixin form-row
                                 i.fa.fa-arrow-down(ng-show='$index < #{tblMdl}.length - 1' ng-click='field.editIdx = -1')
             .col-sm-5
                 input.form-control(type='text' ng-model='newValue' placeholder='{{field.placeholder}}')
-            button.btn.btn-primary(style='margin-left: 10px;' ng-click='field.editIdx = -1; addSimpleItem(field.model, newValue)') Add {{field.label}}
+            button.btn.btn-primary(style='margin-left: 10px;' ng-disabled='!newValue' ng-click='field.editIdx = -1; addSimpleItem(field.model, newValue)') Add {{field.label}}