diff --git a/fields/file.py b/fields/file.py
index 657b90e..5e42a18 100644
--- a/fields/file.py
+++ b/fields/file.py
@@ -307,7 +307,7 @@ class File(Field):
size=":field.width"/>
''')
+ (fName, isDisabled)''')
pxSearch = ''
diff --git a/fields/phase.py b/fields/phase.py
index 8858167..21ce046 100644
--- a/fields/phase.py
+++ b/fields/phase.py
@@ -33,12 +33,13 @@ class Phase:
class=":(aPage == page) and 'currentPage' or ''">
- ::aPageInfo.page.getLabel(zobj)
+ ::aPageInfo.page.getLabel(zobj)
@@ -108,8 +110,11 @@ class Ref(Field): |
+ field.pageName, loop.tied.nb + 1 + startNumber, totalNumber);
+ linkInPopup=inPopup or (target.target != '_self')"
+ href=":tied.o.getUrl(mode='edit', page='main', nav=navInfo, \
+ inPopup=linkInPopup)"
+ target=":target.target" onclick=":target.openPopup">
|
@@ -140,24 +145,27 @@ class Ref(Field):
# Displays the button allowing to add a new object through a Ref field, if
# it has been declared as addable and if multiplicities allow it.
pxAdd = Px('''
- ''')
+ ''')
# This PX displays, in a cell header from a ref table, icons for sorting the
# ref field according to the field that corresponds to this column.
@@ -309,39 +317,60 @@ class Ref(Field):
req.get('showSubTitles', 'true') == 'true';
subLabel='selectable_objects'">:field.pxViewList''')
- # PX that displays referred objects as menus.
+ # PX that displays referred objects as dropdown menus.
+ pxMenu = Px('''
+