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:16:16 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 855780a69 -> b21bb4fc0


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

Branch: refs/heads/develop
Commit: b21bb4fc0a1e195b1f8a6e169a8245fa9fe75fb5
Parents: 855780a
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue May 23 12:16:13 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Tue May 23 12:16:13 2017 -0400

----------------------------------------------------------------------
 public/js/deployment.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b21bb4fc/public/js/deployment.js
----------------------------------------------------------------------
diff --git a/public/js/deployment.js b/public/js/deployment.js
index 9b37590..9b7f886 100644
--- a/public/js/deployment.js
+++ b/public/js/deployment.js
@@ -82,11 +82,9 @@ $( document).ready( function(){
 					for(j=0; j<queues.length; j++){
 						queue = queues[j];
 						if(appDeploymentObject.defaultQueueName == queue.queueName){
-							$("#edit-app-deployment-block .default-queue-name-select").append("<option>"+queue.queueName+"</option>")
-								.attr("value", queue.queueName).attr("selected", true);
+							$("#edit-app-deployment-block .default-queue-name-select").append("<option value="+queue.queueName+"
selected>"+queue.queueName+"</option>");
 						}else{
-							$("#edit-app-deployment-block .default-queue-name-select").append("<option>"+queue.queueName+"</option>")
-								.attr("value", queue.queueName).text(queue.queueName);
+							$("#edit-app-deployment-block .default-queue-name-select").append("<option value="+queue.queueName+">"+queue.queueName+"</option>");
 						}
 					}
 				}


Mime
View raw message