You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/07/13 19:25:34 UTC

[40/42] airavata-php-gateway git commit: Fixing AIRAVATA-1723

Fixing AIRAVATA-1723


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

Branch: refs/heads/airavata-php-gateway-0.15-release
Commit: 3f1fdd45fa737f6953cc18d13c5532dde80b00a5
Parents: 2da7eb5
Author: Supun Nakandala <sc...@apache.org>
Authored: Wed Jul 1 16:11:38 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
Committed: Wed Jul 1 16:11:57 2015 +0530

----------------------------------------------------------------------
 app/views/experiment/edit.blade.php | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3f1fdd45/app/views/experiment/edit.blade.php
----------------------------------------------------------------------
diff --git a/app/views/experiment/edit.blade.php b/app/views/experiment/edit.blade.php
index b4ee28c..4e74907 100755
--- a/app/views/experiment/edit.blade.php
+++ b/app/views/experiment/edit.blade.php
@@ -72,5 +72,19 @@
         var emailInput = $(this).parent().find("#emailAddresses").clone();
         emailInput.removeAttr("id").removeAttr("required").val("").appendTo(".emailAddresses");
     });
+
+    $("#compute-resource").change(function () {
+        var crId = $(this).val();
+        $(".loading-img ").removeClass("hide");
+        $.ajax({
+            url: '../experiment/getQueueView',
+            type: 'get',
+            data: {crId: crId},
+            success: function (data) {
+                $(".queue-view").html(data);
+                $(".loading-img ").addClass("hide");
+            }
+        });
+    });
 </script>
 @stop
\ No newline at end of file