You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/07/01 11:10:07 UTC

airavata-php-gateway git commit: Fixing AIRAVATA-1743

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/airavata-php-gateway-0.15-release 6af78dc9b -> 76a5d6e9c


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/airavata-php-gateway-0.15-release
Commit: 76a5d6e9cf2490739cf7cdd93ed25369be4088b3
Parents: 6af78dc
Author: Supun Nakandala <sc...@apache.org>
Authored: Wed Jul 1 14:39:09 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
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") );