airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [35/42] airavata-php-gateway git commit: Fixing AIRAVATA-1743
Date Mon, 13 Jul 2015 17:25:29 GMT
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/c7ff1aa8
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/c7ff1aa8
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/c7ff1aa8

Branch: refs/heads/airavata-php-gateway-0.15-release
Commit: c7ff1aa8dbff787befff194d550a86462af10ba2
Parents: 914011b
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Wed Jul 1 14:39:09 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Wed Jul 1 14:39:09 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/c7ff1aa8/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") );


Mime
View raw message