airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: WIP
Date Tue, 23 May 2017 16:23:06 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop f6651ffbd -> 8c504a0a4


WIP


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/8c504a0a
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8c504a0a
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8c504a0a

Branch: refs/heads/develop
Commit: 8c504a0a4806cc4c65fb17977e46e21bbff85367
Parents: f6651ff
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue May 23 12:23:03 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Tue May 23 12:23:03 2017 -0400

----------------------------------------------------------------------
 public/js/deployment.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8c504a0a/public/js/deployment.js
----------------------------------------------------------------------
diff --git a/public/js/deployment.js b/public/js/deployment.js
index 9324b49..6f30e3d 100644
--- a/public/js/deployment.js
+++ b/public/js/deployment.js
@@ -74,10 +74,9 @@ $( document).ready( function(){
 	$("#edit-app-deployment-block").on('change', '.computeHostId', function () {
 		var computeResourceCompleteList = $.parseJSON($("#compute-resource-full-objects").val());
 		var appDeploymentObject = $.parseJSON($("#app-deployment-object").val());
+		$('#edit-app-deployment-block .default-queue-name-select').find('option').remove();
 		for(i = 0; i< computeResourceCompleteList.length; i++){
 			computeResource = computeResourceCompleteList[i];
-
-			$('#edit-app-deployment-block .default-queue-name-select').find('option').remove();
 			if(computeResource.computeResourceId.startsWith(this.value)){
 				queues = computeResource.batchQueues;
 				if(queues != null){


Mime
View raw message