fixing queue names not updating issue in create app deployment

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

Branch: refs/heads/dreg-gateway
Commit: 3ae5f319ef75e413ae0c6bda5ee22817aecee92f
Parents: e7d1407
Author: scnakandala <supun.nakand...@gmail.com>
Authored: Thu Jul 27 12:36:12 2017 -0400
Committer: scnakandala <supun.nakand...@gmail.com>
Committed: Thu Jul 27 12:36:12 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ae5f319/public/js/deployment.js
----------------------------------------------------------------------
diff --git a/public/js/deployment.js b/public/js/deployment.js
index 371d619..d0f8649 100644
--- a/public/js/deployment.js
+++ b/public/js/deployment.js
@@ -71,12 +71,12 @@ $( document).ready( function(){
                $(".delete-deploymentId").val( deploymentId )
         });
 
-       updateQueueNamesForCreateAppDep($('#create-app-deployment-block 
.computeHostId').filter(":selected").val());
+       updateQueueNamesForCreateAppDep($('#create-app-deployment-block 
.computeHostId').filter(":first").val());
        $("#create-app-deployment-block").on('change', '.computeHostId', 
function () {
                updateQueueNamesForCreateAppDep(this.value);
        });
 
-       updateQueueNamesForEditAppDep($('#edit-app-deployment-block 
.computeHostId').filter(":selected").val());
+       updateQueueNamesForEditAppDep($('#edit-app-deployment-block 
.computeHostId').filter(":first").val());
        $("#edit-app-deployment-block").on('change', '.computeHostId', function 
() {
                updateQueueNamesForEditAppDep(this.value);
        });

Reply via email to