equal
deleted
inserted
replaced
139 def get_form_factory(context, request): |
139 def get_form_factory(context, request): |
140 return PortletSettingsPropertiesEditor(context, request, self.parent_form) |
140 return PortletSettingsPropertiesEditor(context, request, self.parent_form) |
141 |
141 |
142 output = super(PortletSettingsPropertiesEditor, self).get_ajax_output(changes) |
142 output = super(PortletSettingsPropertiesEditor, self).get_ajax_output(changes) |
143 if 'renderer' in changes.get(IPortletSettings, ()): |
143 if 'renderer' in changes.get(IPortletSettings, ()): |
144 renderer = self.context.get_renderer() |
144 renderer = self.context.get_renderer(self.request) |
145 if (renderer is not None) and \ |
145 if (renderer is not None) and \ |
146 (renderer.target_interface is None) and \ |
146 (renderer.target_interface is None) and \ |
147 (renderer.settings_interface is not None): |
147 (renderer.settings_interface is not None): |
148 output.update({ |
148 output.update({ |
149 'close_form': False |
149 'close_form': False |