Skip to content

Commit

Permalink
Added JQTree Contextual Menu and JS Shortcut to Plone 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
b4oshany committed Aug 17, 2017
1 parent ad48e02 commit 30a97f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plone/app/upgrade/v51/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ Add image scaling options to image handling control panel.
<gs:upgradeDepends
title="Run to51beta5 upgrade profile."
description="Fix safe_html in PortalTransforms.
Add 'Show Toolbar' permission."
Add 'Show Toolbar' permission.
Add JQTree Contextual Menu and JS Shortcuts to the resource registry."
import_profile="plone.app.upgrade.v51:to51beta5"
/>

Expand Down
11 changes: 11 additions & 0 deletions plone/app/upgrade/v51/profiles/to_beta5/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@
<records interface="Products.CMFPlone.interfaces.IFilterSchema"
prefix="plone" />

<records prefix="plone.resources/jqtree-contextmenu"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="js">++plone++static/components/cs-jqtree-contextmenu/src/jqTreeContextMenu.js</value>
<value key="deps">jqtree</value>
</records>
<records prefix="plone.resources/js-shortcuts"
interface='Products.CMFPlone.interfaces.IResourceRegistry'>
<value key="js">++plone++static/components/js-shortcuts/js-shortcuts.js</value>
<value key="deps">jquery</value>
</records>

</registry>

0 comments on commit 30a97f4

Please sign in to comment.