Repository: ignite
Updated Branches:
  refs/heads/ignite-843 30a08ebd1 -> 5ce52e96f


IGNITE-843: Do not collapse on "Download" button click.


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

Branch: refs/heads/ignite-843
Commit: 5ce52e96fa5f82f94391a3d92d0c329e330250ca
Parents: 30a08eb
Author: Alexey Kuznetsov <[email protected]>
Authored: Tue Sep 1 10:45:06 2015 +0700
Committer: Alexey Kuznetsov <[email protected]>
Committed: Tue Sep 1 10:45:06 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/views/configuration/summary.jade              | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5ce52e96/modules/control-center-web/src/main/js/views/configuration/summary.jade
----------------------------------------------------------------------
diff --git 
a/modules/control-center-web/src/main/js/views/configuration/summary.jade 
b/modules/control-center-web/src/main/js/views/configuration/summary.jade
index da4a185..9990ba0 100644
--- a/modules/control-center-web/src/main/js/views/configuration/summary.jade
+++ b/modules/control-center-web/src/main/js/views/configuration/summary.jade
@@ -32,6 +32,9 @@ include ../includes/controls
 mixin hard-link(ref, txt)
     a(style='color:#ec1c24' href=ref target='_blank') #{txt}
 
+mixin btn-download
+    button.btn.btn-primary.pull-right(type='submit' 
ng-click='$event.stopPropagation()') Download
+
 block content
     .docs-header
         h1 Configurations Summary
@@ -56,7 +59,7 @@ block content
                         input(type='hidden' name='_id' 
value='{{selectedItem._id}}')
                         input(type='hidden' name='os' value='{{os}}')
                         input(type='hidden' name='javaClass' 
value='{{javaClassServer}}')
-                        button.btn.btn-primary.pull-right(type='submit') 
Download
+                        +btn-download
                     .panel-collapse(role='tabpanel' bs-collapse-target)
                         .summary-tabs(bs-tabs ng-show='selectedItem' 
template='summary/summary-tabs')
                             div(bs-pane title='XML')
@@ -90,7 +93,7 @@ block content
                         input(type='hidden' name='_id' 
value='{{selectedItem._id}}')
                         input(type='hidden' name='javaClass' 
value='{{javaClassClient}}')
                         input(type='hidden' name='clientNearConfiguration' 
value='{{backupItem}}')
-                        button.btn.btn-primary.pull-right(type='submit') 
Download
+                        +btn-download
                     .panel-collapse(role='tabpanel' bs-collapse-target)
                         div(ng-show='selectedItem')
                             .details-row(ng-repeat='field in clientFields')

Reply via email to