[gen] Executng actions from list of tied objects (ref field): bugfix.

This commit is contained in:
Gaetan Delannay 2015-01-07 18:20:48 +01:00
parent 746a6cd52d
commit 90657e0faf
2 changed files with 8 additions and 9 deletions

View file

@ -132,7 +132,8 @@ class Ref(Field):
<!-- Fields (actions) defined with layout "buttons" -->
<x if="not inPopup"
var2="fields=tied.o.getAppyTypes('buttons', 'main', type='Action');
layoutType='view'">
layoutType='view';
zobj=tied.o">
<!-- Call pxView and not pxRender to avoid having a table -->
<x for="field in fields"
var2="name=field.name; smallButtons=True">:field.pxView</x>