[gen] Bugfix in the Ref field in edit mode.

This commit is contained in:
Gaetan Delannay 2014-04-18 22:00:37 +02:00
parent 16442341f0
commit ff7c300dd0
2 changed files with 2 additions and 2 deletions

View file

@ -408,7 +408,7 @@ class Ref(Field):
pxEdit = Px('''
<select if="field.link"
var2="objects=field.getPossibleValues(zobj);
uids=getattr(zobj, field.name, ())"
uids=[o.id for o in field.getValue(zobj, appy=False)]"
name=":name" id=":name" size=":isMultiple and field.height or ''"
onchange=":field.getOnChange(zobj, layoutType)"
multiple=":isMultiple">

View file

@ -89,7 +89,7 @@ input.button { border-width: 0 !important; color: #666666; height: 24px;
.portletCurrent { font-weight: bold; color: grey }
.portletSep { border-top: 1px solid #5F7983; margin-top: 2px }
.portletPage { font-style: italic }
.portletGroup { font-variant: small-caps; font-weight: bold;
.portletGroup { font-variant: small-caps; font-weight: bold; font-size: 110%;
margin: 0.1em 0 0.3em ; border-bottom: 1px dashed grey }
.portletSearch { font-size: 90%; font-style: italic }
.inputSearch { height: 15px; width: 132px; margin: 3px 3px 2px 3px !important }