Updated form's JSON response
authorThierry Florac <thierry.florac@onf.fr>
Mon, 12 Nov 2018 11:20:34 +0100
changeset 1075 1102a2738e47
parent 1074 b6c276f67cda
child 1076 93f78438ff8c
Updated form's JSON response
src/pyams_content/shared/site/zmi/link.py
--- a/src/pyams_content/shared/site/zmi/link.py	Fri Nov 09 17:36:19 2018 +0100
+++ b/src/pyams_content/shared/site/zmi/link.py	Mon Nov 12 11:20:34 2018 +0100
@@ -107,6 +107,9 @@
     def nextURL(self):
         return absolute_url(self.__target, self.request, 'admin#site-tree.html')
 
+    def get_ajax_output(self, changes):
+        return {'status': 'reload'}
+
 
 @adapter_config(context=(IContentLink, IPyAMSLayer, ISiteTreeTable), provides=ITableElementName)
 class ContentLinkTableElementName(ContextRequestViewAdapter):