--- a/src/pyams_content/component/illustration/zmi/__init__.py Thu Sep 21 12:00:57 2017 +0200
+++ b/src/pyams_content/component/illustration/zmi/__init__.py Thu Sep 21 12:44:15 2017 +0200
@@ -91,10 +91,10 @@
css_class = 'form-group'
padding_class = ''
- fieldset_class = 'margin-top-10 padding-top-5 padding-bottom-5'
+ fieldset_class = 'margin-top-10 padding-y-5'
legend = _("Illustration")
- legend_class = 'inner switcher padding-right-10 no-y-padding pull-left'
+ legend_class = 'inner switcher no-y-padding padding-right-10 pull-left'
fields = field.Fields(IIllustration).omit('__parent__', '__name__')
weight = 10
@@ -126,7 +126,7 @@
form.update()
output.setdefault('events', []).append({
'event': 'PyAMS_content.changed_item',
- 'options': {'object_type': 'illustration',
+ 'options': {'object_type': 'form',
'object_name': '{0}_{1}_{2}'.format(
self.context.__class__.__name__,
getattr(form.getContent(), '__name__', 'noname').replace('++', ''),
--- a/src/pyams_content/component/illustration/zmi/paragraph.py Thu Sep 21 12:00:57 2017 +0200
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py Thu Sep 21 12:44:15 2017 +0200
@@ -174,7 +174,7 @@
form.update()
output.setdefault('events', []).append({
'event': 'PyAMS_content.changed_item',
- 'options': {'object_type': 'illustration',
+ 'options': {'object_type': 'form',
'object_name': '{0}_{1}_{2}'.format(
self.context.__class__.__name__,
getattr(form.getContent(), '__name__', 'noname').replace('++', ''),