--- a/src/pyams_content/shared/site/zmi/folder.py Thu Feb 04 10:39:17 2021 +0100
+++ b/src/pyams_content/shared/site/zmi/folder.py Wed Feb 10 13:09:44 2021 +0100
@@ -26,7 +26,7 @@
from pyams_content.shared.site.interfaces import ISiteContainer, ISiteFolder, ISiteManager
from pyams_content.shared.site.zmi.widget import SiteManagerFoldersSelectorFieldWidget
from pyams_content.zmi.interfaces import ISiteTreeTable
-from pyams_form.form import AJAXAddForm, ajax_config
+from pyams_form.form import AJAXAddForm, AJAXEditForm, ajax_config
from pyams_form.group import NamedWidgetsGroup
from pyams_form.interfaces.form import IInnerSubForm
from pyams_i18n.interfaces import II18n, INegotiator
@@ -211,7 +211,7 @@
'message': self.request.localizer.translate(self.successMessage)
}
else:
- return super(SiteFolderPropertiesEditForm, self).get_ajax_output(changes)
+ return AJAXEditForm.get_ajax_output(self, changes)
@adapter_config(name='navigation',