Skip to content

Commit

Permalink
fix: remove duplicated media js from monkeypatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
FreemanPancake committed Nov 19, 2024
1 parent 6d89ce1 commit 25dddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_version_locking/monkeypatch/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _get_manage_versions_link(self, obj, request, disabled=False):
static_with_version("cms/css/cms.pagetree.css"),
"djangocms_version_locking/css/actions.css",
)
ChangeListActionsMixin.Media.js += ("admin/js/jquery.init.js", "djangocms_version_locking/js/actions.js",)
ChangeListActionsMixin.Media.js += ("djangocms_version_locking/js/actions.js",)

ExtendedVersionAdminMixin._get_manage_versions_link = _get_manage_versions_link
ExtendedVersionAdminMixin.get_actions_list = _get_actions_list(ExtendedVersionAdminMixin.get_actions_list)
Expand Down

0 comments on commit 25dddce

Please sign in to comment.