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/7b775c34 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/7b775c34 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/7b775c34 Branch: refs/heads/0.15-release-branch Commit: 7b775c3441adc982b4b01f7247acc8e136c300c0 Parents: 98a335a Author: Supun Nakandala <[email protected]> Authored: Wed Jul 1 16:11:38 2015 +0530 Committer: Supun Nakandala <[email protected]> Committed: Wed Jul 1 16:11:38 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/7b775c34/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
