airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [03/20] airavata-php-gateway git commit: changed AJAX call to POST and added resourceId field
Date Wed, 17 Aug 2016 15:32:50 GMT
changed AJAX call to POST and added resourceId field


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

Branch: refs/heads/develop
Commit: 84f160ae22b9c65b590559fbf5f91e790a49e3f5
Parents: 4f5f026
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Thu Aug 4 12:30:46 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Thu Aug 4 12:30:46 2016 -0400

----------------------------------------------------------------------
 public/js/sharing/share.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/84f160ae/public/js/sharing/share.js
----------------------------------------------------------------------
diff --git a/public/js/sharing/share.js b/public/js/sharing/share.js
index 40420c6..7b21297 100755
--- a/public/js/sharing/share.js
+++ b/public/js/sharing/share.js
@@ -97,8 +97,9 @@ $(function() {
             ajax_data = $(e.target).data();
 
             $.ajax({
-                url: url,
-                data: {},
+                url: ajax_data.url,
+                method: 'post',
+                data: {resourceId: ajax_data.resourceId},
                 dataType: "json",
                 error: function(xhr, status, error) {
                     $('#shared-users').addClass('text-align-center').text("Unable to load
users from Airavata server.");


Mime
View raw message