--- a/src/pyams_content_es/zmi/__init__.py Wed Mar 28 15:47:15 2018 +0200
+++ b/src/pyams_content_es/zmi/__init__.py Wed Apr 11 12:16:45 2018 +0200
@@ -43,7 +43,9 @@
permission=VIEW_SYSTEM_PERMISSION)
class ContentIndexerUtilityPropertiesEditForm(AdminDialogEditForm):
"""Content indexer utility properties edit form"""
-
+
+ prefix = 'indexer_properties.'
+
@property
def title(self):
return self.context.__name__
@@ -127,10 +129,14 @@
def get_ajax_output(self, changes):
status, message = changes
if status == 200:
- return {'status': 'success',
- 'content': {'html': message},
- 'close_form': False}
+ return {
+ 'status': 'success',
+ 'content': {'html': message},
+ 'close_form': False
+ }
else:
- return {'status': 'info',
- 'content': {'html': message},
- 'close_form': False}
+ return {
+ 'status': 'info',
+ 'content': {'html': message},
+ 'close_form': False
+ }