Fix permission / grid action bug for email profiles
This commit is contained in:
parent
e662af1464
commit
cc34e77a2c
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue