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: edit thumbnail state changes
Date Mon, 11 Jul 2016 20:17:36 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/grouper-integration dc4b0be1c -> 1a0c25126


edit thumbnail state changes


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

Branch: refs/heads/grouper-integration
Commit: 1a0c25126007956963eaac7f873a3de8ce2a0c2d
Parents: dc4b0be
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Mon Jul 11 15:48:17 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Mon Jul 11 15:48:17 2016 -0400

----------------------------------------------------------------------
 public/js/sharing/sharing_utils.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/1a0c2512/public/js/sharing/sharing_utils.js
----------------------------------------------------------------------
diff --git a/public/js/sharing/sharing_utils.js b/public/js/sharing/sharing_utils.js
index 46bee1b..3d5ddb9 100644
--- a/public/js/sharing/sharing_utils.js
+++ b/public/js/sharing/sharing_utils.js
@@ -70,7 +70,7 @@ var changeShareState = function($target) {
     if ($target.hasClass('share-box-users-item')) {
         console.log("Sharing");
         $target.find('.sharing-thumbnail-access').val('1').prop("disabled", false).show();
-        data.access.read = true;
+        data.currentaccess.read = true;
         $target.data(data);
         $target.find('.sharing-thumbnail-unshare').show();
         $target.detach().prependTo('#share-box-share').show();
@@ -79,8 +79,8 @@ var changeShareState = function($target) {
     else if ($target.hasClass('share-box-share-item')) {
         console.log("Revoking share");
         $target.find('select').val('0').prop("disabled", true).hide();
-        data.access.read = true;
-        data.access.write = true;
+        data.currentaccess.read = true;
+        data.currentaccess.write = true;
         $target.data(data);
         $target.find('.sharing-thumbnail-unshare').hide();
         $target.detach().appendTo('#share-box-users');


Mime
View raw message