[gen] Bugfixes.

This commit is contained in:
Gaetan Delannay 2014-12-15 19:36:00 +01:00
parent 50bd996c3b
commit 6cd64fdc50
4 changed files with 10 additions and 6 deletions

View file

@ -29,7 +29,7 @@ class Action(Field):
pxView = pxCell = Px('''
<form var="formId='%s_%s_form' % (zobj.id, name);
label=_(field.labelId);
descr=field.descrId and _(field.descrId) or None;
descr=field.hasDescr and _(field.descrId) or None;
buttonWidth=ztool.getButtonWidth(label)"
id=":formId" action=":ztool.absolute_url() + '/do'"
style="display:inline">