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 2016/11/01 19:41:46 UTC

airavata-php-gateway git commit: AIRAVATA-2188 show the .add-roles-block even when user has no roles

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 10b27a933 -> 4ea44b18c


AIRAVATA-2188 show the .add-roles-block even when user has no roles


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

Branch: refs/heads/develop
Commit: 4ea44b18c016e73ffffc5e10251a35d8edce5625
Parents: 10b27a9
Author: Marcus Christie <ma...@iu.edu>
Authored: Tue Nov 1 15:22:48 2016 -0400
Committer: Marcus Christie <ma...@iu.edu>
Committed: Tue Nov 1 15:22:48 2016 -0400

----------------------------------------------------------------------
 app/views/admin/manage-users.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/4ea44b18/app/views/admin/manage-users.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-users.blade.php b/app/views/admin/manage-users.blade.php
index c137ce9..c6ff4a9 100644
--- a/app/views/admin/manage-users.blade.php
+++ b/app/views/admin/manage-users.blade.php
@@ -254,9 +254,9 @@
                     var newRoleBlock = $(".role-block").html();
                     roleBlocks += newRoleBlock;
                     $(".roles-list").html(roleBlocks);
-                    $(".add-roles-block").removeClass("hide");
                 }
             }
+            $(".add-roles-block").removeClass("hide");
             $(".roles-load").addClass("hide");
             $(".roles-list").removeClass("hide");
         });