plone.app.upgrade/CMFPlone-jqtree-contextmenu-upgrade-step: Add js-shortcuts to the resource registry.

Oshane Bailey <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.app.upgrade
Branch: refs/heads/CMFPlone-jqtree-contextmenu-upgrade-step
Date: 2017-07-11T02:53:53-05:00
Author: Oshane Bailey (b4oshany) <[email protected]>
Commit: https://github.com/plone/plone.app.upgrade/commit/520c908956e5755ba2566e318077f570f8717449

Add js-shortcuts to the resource registry.

Files changed:
M CHANGES.rst
M plone/app/upgrade/v50/profiles/to_509/registry.xml

diff --git a/CHANGES.rst b/CHANGES.rst
index 9fc826b..f66d781 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -12,7 +12,9 @@ New features:
 
 - *add item here*
 
-- Add an upgrade step for Products.CMFPlone version 5020 and add jqtree-contextmenu to registry
+- Add an upgrade step for Products.CMFPlone version 5020
+  - add jqtree-contextmenu to the resource registry
+  - add js-shortcuts to the resource registry
   [b4oshany]
 
 Bug fixes:
diff --git a/plone/app/upgrade/v50/profiles/to_509/registry.xml b/plone/app/upgrade/v50/profiles/to_509/registry.xml
index e4d2c06..eaf8e9e 100644
--- a/plone/app/upgrade/v50/profiles/to_509/registry.xml
+++ b/plone/app/upgrade/v50/profiles/to_509/registry.xml
@@ -5,4 +5,9 @@
       <value key="js">++plone++static/components/cs-jqtree-contextmenu/src/jqTreeContextMenu.js</value>
       <value key="deps">jqtree</value>
   </records>
-</registry>
\ No newline at end of file
+  <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>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.