Skip to content

Commit

Permalink
Merge pull request #152 from playasoft/bugfix/cancelRoleChange
Browse files Browse the repository at this point in the history
Bugfix/cancel role change
  • Loading branch information
itsrachelfish authored Apr 14, 2020
2 parents 6e52598 + 10483c6 commit 5b08e2f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions laravel/resources/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ $(document).ready(function()

});



// Display save / cancel buttons when changing user roles
$('.user-roles input').on('change', function()
{
Expand Down Expand Up @@ -86,8 +84,7 @@ $(document).ready(function()

$('.cancel-roles').on('click', function()
{
$('.user-role').value($('.user-role').data('role'));
$('.buttons').attr('style', false);
window.history.back();
});

$('.save-upload').on('click', function()
Expand Down

0 comments on commit 5b08e2f

Please sign in to comment.