You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/02/22 07:12:59 UTC

[2/5] stratos git commit: add scroll to details on doubleClick event

add scroll to details on doubleClick event


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

Branch: refs/heads/4.1.0-beta-deployment-policy-fix
Commit: 9e978caaca8b616a7570a36301ee45f2fb79f6d6
Parents: cb80b32
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Sun Feb 22 10:57:46 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Sun Feb 22 10:57:46 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/js/custom/applications-editor.js       | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/9e978caa/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js
index 2a5eae5..0eb33dd 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js
@@ -709,6 +709,10 @@ $(document).ready(function(){
         tabData($(this));
     });
 
+    $('#whiteboard').on('dblclick', '.stepnode', function(){
+        document.getElementById('component-data').scrollIntoView();
+    });
+
     function tabData(node){
         //get tab activated
         if(node.attr('id') == 'applicationId'){