Permalink
Browse files

fixes #255 child plugins are saved before mptt signals are fired

  • Loading branch information...
1 parent 0471d78 commit d90fe7fb7c7bab46743462c13aaa88abf7782904 @digi604 digi604 committed Nov 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/admin/views.py
View
@@ -282,8 +282,8 @@ def revert_plugins(request, version_id, obj):
current_plugins = list(CMSPlugin.objects.filter(page=page))
for plugin in cms_plugin_list:
plugin.page = page
-
plugin.save(no_signals=True)
+ for plugin in cms_plugin_list:
plugin.save()
for p in plugin_list:
if int(p.cmsplugin_ptr_id) == int(plugin.pk):

0 comments on commit d90fe7f

Please sign in to comment.