Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2014-11-13T16:47:01+01:00
Author: JC Brand (jcbrand) <jc@opkode.com>
Commit: https://github.com/plone/Products.CMFPlone/commit/dba81094fd738f19dce772b2fd08280566134d9a

Register pat-inlinevalidation. updates #282, updates #299

Files changed:
M Products/CMFPlone/profiles/dependencies/registry.xml
M Products/CMFPlone/static/plone.js

diff --git a/Products/CMFPlone/profiles/dependencies/registry.xml b/Products/CMFPlone/profiles/dependencies/registry.xml
index d5293b3..29d27ec 100644
--- a/Products/CMFPlone/profiles/dependencies/registry.xml
+++ b/Products/CMFPlone/profiles/dependencies/registry.xml
@@ -670,6 +670,11 @@
       <value key="js">++resource++mockup/formunloadalert/pattern.js</value>
   </records>
 
+  <records prefix="plone.resources/mockup-patterns-inlinevalidation"
+            interface='Products.CMFPlone.interfaces.IResourceRegistry'>
+      <value key="js">++resource++mockup/inlinevalidation/pattern.js</value>
+  </records>
+
   <records prefix="plone.resources/mockup-patterns-modal"
             interface='Products.CMFPlone.interfaces.IResourceRegistry'>
       <value key="js">++resource++mockup/modal/pattern.js</value>
diff --git a/Products/CMFPlone/static/plone.js b/Products/CMFPlone/static/plone.js
index 86cfdd1..b79b820 100644
--- a/Products/CMFPlone/static/plone.js
+++ b/Products/CMFPlone/static/plone.js
@@ -36,6 +36,7 @@ require([
   'mockup-patterns-autotoc',
   'mockup-patterns-formunloadalert',
   'mockup-patterns-preventdoublesubmit',
+  'mockup-patterns-inlinevalidation',
   'mockup-patterns-formautofocus',
   'mockup-patterns-modal',
   'mockup-patterns-structure',