Fix permission / grid action bug for email profiles

This commit is contained in:
Lance Edgar 2016-12-07 16:57:08 -06:00
parent e662af1464
commit cc34e77a2c

View file

@ -120,7 +120,8 @@ class ProfilesView(MasterView):
g.default_sortkey = 'key' g.default_sortkey = 'key'
# Make edit link visible by default, no "More" actions. # Make edit link visible by default, no "More" actions.
g.main_actions.append(g.more_actions.pop()) if g.more_actions:
g.main_actions.append(g.more_actions.pop())
def get_instance(self): def get_instance(self):
key = self.request.matchdict['key'] key = self.request.matchdict['key']