Fixing AIRAVATA-1743
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/76a5d6e9 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/76a5d6e9 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/76a5d6e9 Branch: refs/heads/0.15-release-branch Commit: 76a5d6e9cf2490739cf7cdd93ed25369be4088b3 Parents: 6af78dc Author: Supun Nakandala <[email protected]> Authored: Wed Jul 1 14:39:09 2015 +0530 Committer: Supun Nakandala <[email protected]> Committed: Wed Jul 1 14:39:35 2015 +0530 ---------------------------------------------------------------------- public/js/gateway.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/76a5d6e9/public/js/gateway.js ---------------------------------------------------------------------- diff --git a/public/js/gateway.js b/public/js/gateway.js index 5310435..919efeb 100644 --- a/public/js/gateway.js +++ b/public/js/gateway.js @@ -1,6 +1,6 @@ -$( document).ready( function(){ - - //show options on hovering on a gateway +$(document).ready(function () { + + //show options on hovering on a gateway $(".panel-title").hover( function(){ $(this).find(".gateway-options").addClass("in"); @@ -43,8 +43,8 @@ $( document).ready( function(){ crId = $(this).val(); //This is done as Jquery creates problems when using period(.) in id or class. crId = crId.replace(/\./g,"_"); - $(this).parent().parent().find(".pref-space").html( $("#cr-" + crId).html()); - }); + $(".pref-space").html($("#cr-" + crId).html()); + }); $(".edit-gateway").click( function(){ $(".edit-gp-name").val( $(this).data("gp-name") );
