forked from django-cms/django-cms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed alias plugin preventing operations on the original plugin
When alias plugin is initialised it also initialises it's children. If the alias plugin is on the same page as the plugin that is being aliased this leads to the event handlers bound twice. So if you try to toggle context menu or nested plugins in structure mode the operation would be ran twice and would technically fail. This commit stops initialisation of the plugin that already has been initialised. Essentially this is a backport of changes from django-cms#5429 Ref: django-cms#5382
- Loading branch information
Showing
4 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters