Repository: airavata-php-gateway Updated Branches: refs/heads/develop 625420405 -> 926d55ac1
AIRAVATA-2155 fix. 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/44df8499 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/44df8499 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/44df8499 Branch: refs/heads/develop Commit: 44df849993c299d974db1540d14efd29b1a1ba24 Parents: f421e1e Author: Nipurn Doshi <nipunh...@gmail.com> Authored: Thu Oct 13 11:54:07 2016 -0700 Committer: Nipurn Doshi <nipunh...@gmail.com> Committed: Thu Oct 13 11:54:07 2016 -0700 ---------------------------------------------------------------------- app/views/admin/manage-gateway.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/44df8499/app/views/admin/manage-gateway.blade.php ---------------------------------------------------------------------- diff --git a/app/views/admin/manage-gateway.blade.php b/app/views/admin/manage-gateway.blade.php index 9c5a33d..26b7ef8 100644 --- a/app/views/admin/manage-gateway.blade.php +++ b/app/views/admin/manage-gateway.blade.php @@ -594,8 +594,12 @@ editableInputs( $("#update-gateway-request"), true); if( gatewayApprovalStatuses[ gatewayObject.gatewayApprovalStatus] == "REQUESTED"){ - //$(".createdGateway").addClass("hide"); - //$(".notCreatedGateway").removeClass("hide"); + $(".createdGateway").each( function( i, thisButton){ + if( $(thisButton).val() == "deactivateGateway"){ + $(thisButton).addClass("hide"); + } + }); + $(".notCreatedGateway").removeClass("hide"); } else if( gatewayApprovalStatuses[ gatewayObject.gatewayApprovalStatus] == "CANCELLED" || gatewayApprovalStatuses[ gatewayObject.gatewayApprovalStatus] == "DENIED" ||