Skip to content

Commit

Permalink
Fix caching problem in groupmembership.
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarn committed Feb 25, 2020
1 parent 2ab46af commit a66859b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Expand Up @@ -198,7 +198,7 @@ div.legend-element {
p.dotlist:before {
content: '';
position: absolute;
bottom: .4rem;
bottom: 0.4rem;
width: 100%;
height: 0;
line-height: 0;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -262,7 +262,7 @@ angular.module('lmn.groupmembership').controller 'LMNGroupEditController', ($sco
return true


angular.module('lmn.groupmembership').controller 'LMNGroupMembershipController', ($scope, $http, $uibModal, gettext, notify, pageTitle, messagebox, validation) ->
angular.module('lmn.groupmembership').controller 'LMNGroupMembershipController', ($scope, $http, identity, $uibModal, gettext, notify, pageTitle, messagebox, validation) ->

pageTitle.set(gettext('Enrolle'))
$scope.types = {
Expand Down Expand Up @@ -352,6 +352,8 @@ angular.module('lmn.groupmembership').controller 'LMNGroupMembershipController',
if resp['data'][0] == 'LOG'
notify.success gettext(resp['data'][1])
$scope.resetClass()
identity.init().then () ->
$scope.getGroups($scope.identity.user)
if resp.data == 0
notify.success gettext("Nothing changed")

Expand Down

0 comments on commit a66859b

Please sign in to comment.