airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [29/50] [abbrv] airavata-php-gateway git commit: fixed exception thrown when no sharing and typos
Date Wed, 27 Jul 2016 17:05:37 GMT
fixed exception thrown when no sharing and typos


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

Branch: refs/heads/develop
Commit: 52019b9b8ebe53432623535690b44d64302d90ac
Parents: 91bc869
Author: Jeff Kinnison <jeffdkinnison@gmail.com>
Authored: Wed Jul 13 16:40:26 2016 -0400
Committer: Jeff Kinnison <jeffdkinnison@gmail.com>
Committed: Wed Jul 13 16:40:26 2016 -0400

----------------------------------------------------------------------
 app/views/partials/sharing-display-body.blade.php | 2 +-
 public/js/sharing/share.js                        | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/52019b9b/app/views/partials/sharing-display-body.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/sharing-display-body.blade.php b/app/views/partials/sharing-display-body.blade.php
index 8fdda20..c34e09f 100644
--- a/app/views/partials/sharing-display-body.blade.php
+++ b/app/views/partials/sharing-display-body.blade.php
@@ -18,5 +18,5 @@
 </select>
 <div id="shared-users"></div>
 @if($form)
-<input id="share-settings" name="share-settings" type="hidden" value="" />
+<input id="share-settings" name="share-settings" type="hidden" value="{}" />
 @endif

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/52019b9b/public/js/sharing/share.js
----------------------------------------------------------------------
diff --git a/public/js/sharing/share.js b/public/js/sharing/share.js
index bf9e62c..12fd195 100755
--- a/public/js/sharing/share.js
+++ b/public/js/sharing/share.js
@@ -70,7 +70,7 @@ $(function() {
         //     }
         // }
         if ($share.children().length === 0) {
-            $share.append($('<p>This project has not been shared</p>')).addClass('text-align-center');
+            $share.append($('<p>This has not been shared</p>')).addClass('text-align-center');
         }
         $('.user-thumbnail').show();
         //$('.group-thumbnail').show();
@@ -114,7 +114,7 @@ $(function() {
         $shared_users.detach().appendTo('#share-box-users');
         $('.order-results-selector').trigger('change');
         $('#shared-users').addClass('text-align-center');
-        $('#shared-users').prepend('<p>This project has not been shared</p>');
+        $('#shared-users').prepend('<p>This has not been shared</p>');
     });
 
     // Filter the list as the user types
@@ -205,7 +205,7 @@ $(function() {
             }
             else {
                 $('#shared-users').addClass('text-align-center');
-                $('#shared-users').prepend('<p>This project has not been shared</p>');
+                $('#shared-users').prepend('<p>This has not been shared</p>');
             }
             $('#share-box').animate({top: '100%'});
         }
@@ -235,7 +235,7 @@ $(function() {
         }
         else {
             $('#shared-users').addClass('text-align-center');
-            $('#shared-users').prepend('<p>This project has not been shared</p>');
+            $('#shared-users').prepend('<p>This has not been shared</p>');
         }
         $('.sharing-updated').removeClass('sharing-updated');
         $('#share-box').animate({top: "100%"});


Mime
View raw message