From 6fc1169937e4f526b87e37d223910f40704044f4 Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Mon, 15 Apr 2013 15:21:48 +0900
Subject: [PATCH] Install erp5_jquery when adding ERP5Site.

Since erp5_xhtml_style has become requiring erp5_jquery. (in reality required since 2010)
---
 product/ERP5/ERP5Site.py                                        | 2 +-
 .../erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml   | 0
 .../PathTemplateItem/portal_skins/erp5_jquery/jquery.xml        | 0
 .../PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml   | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml      | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml  | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml      | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml  | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml      | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml  | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery.js.xml          | 0
 .../portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml      | 0
 .../PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml | 0
 .../registered_skin_selection.xml                               | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/change_log       | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/comment          | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/copyright_list   | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/dependency_list  | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/description      | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/license          | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/maintainer_list  | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/revision         | 0
 .../ERP5/bootstrap}/erp5_jquery/bt/template_format_version      | 0
 .../ERP5/bootstrap}/erp5_jquery/bt/template_path_list           | 0
 .../erp5_jquery/bt/template_registered_skin_selection_list      | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/title            | 0
 {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/version          | 0
 27 files changed, 1 insertion(+), 1 deletion(-)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/change_log (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/comment (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/copyright_list (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/dependency_list (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/description (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/license (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/maintainer_list (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/revision (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/template_format_version (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/template_path_list (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/template_registered_skin_selection_list (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/title (100%)
 rename {bt5 => product/ERP5/bootstrap}/erp5_jquery/bt/version (100%)

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index fa8529b58f..bd9d75cb14 100644
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -2181,7 +2181,7 @@ class ERP5Generator(PortalGenerator):
     template_tool = p.portal_templates
     if template_tool.getInstalledBusinessTemplate('erp5_core') is None:
       for bt in ('erp5_property_sheets', 'erp5_core', p.erp5_catalog_storage,
-                 'erp5_xhtml_style'):
+                 'erp5_xhtml_style', 'erp5_jquery'):
         if not bt:
           continue
         url = getBootstrapBusinessTemplateUrl(bt)
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.7.min.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.8.min.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery-1.9.min.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/core/jquery.min.js.xml
diff --git a/bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml b/product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml
similarity index 100%
rename from bt5/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml
rename to product/ERP5/bootstrap/erp5_jquery/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin.xml
diff --git a/bt5/erp5_jquery/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml b/product/ERP5/bootstrap/erp5_jquery/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
similarity index 100%
rename from bt5/erp5_jquery/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
rename to product/ERP5/bootstrap/erp5_jquery/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
diff --git a/bt5/erp5_jquery/bt/change_log b/product/ERP5/bootstrap/erp5_jquery/bt/change_log
similarity index 100%
rename from bt5/erp5_jquery/bt/change_log
rename to product/ERP5/bootstrap/erp5_jquery/bt/change_log
diff --git a/bt5/erp5_jquery/bt/comment b/product/ERP5/bootstrap/erp5_jquery/bt/comment
similarity index 100%
rename from bt5/erp5_jquery/bt/comment
rename to product/ERP5/bootstrap/erp5_jquery/bt/comment
diff --git a/bt5/erp5_jquery/bt/copyright_list b/product/ERP5/bootstrap/erp5_jquery/bt/copyright_list
similarity index 100%
rename from bt5/erp5_jquery/bt/copyright_list
rename to product/ERP5/bootstrap/erp5_jquery/bt/copyright_list
diff --git a/bt5/erp5_jquery/bt/dependency_list b/product/ERP5/bootstrap/erp5_jquery/bt/dependency_list
similarity index 100%
rename from bt5/erp5_jquery/bt/dependency_list
rename to product/ERP5/bootstrap/erp5_jquery/bt/dependency_list
diff --git a/bt5/erp5_jquery/bt/description b/product/ERP5/bootstrap/erp5_jquery/bt/description
similarity index 100%
rename from bt5/erp5_jquery/bt/description
rename to product/ERP5/bootstrap/erp5_jquery/bt/description
diff --git a/bt5/erp5_jquery/bt/license b/product/ERP5/bootstrap/erp5_jquery/bt/license
similarity index 100%
rename from bt5/erp5_jquery/bt/license
rename to product/ERP5/bootstrap/erp5_jquery/bt/license
diff --git a/bt5/erp5_jquery/bt/maintainer_list b/product/ERP5/bootstrap/erp5_jquery/bt/maintainer_list
similarity index 100%
rename from bt5/erp5_jquery/bt/maintainer_list
rename to product/ERP5/bootstrap/erp5_jquery/bt/maintainer_list
diff --git a/bt5/erp5_jquery/bt/revision b/product/ERP5/bootstrap/erp5_jquery/bt/revision
similarity index 100%
rename from bt5/erp5_jquery/bt/revision
rename to product/ERP5/bootstrap/erp5_jquery/bt/revision
diff --git a/bt5/erp5_jquery/bt/template_format_version b/product/ERP5/bootstrap/erp5_jquery/bt/template_format_version
similarity index 100%
rename from bt5/erp5_jquery/bt/template_format_version
rename to product/ERP5/bootstrap/erp5_jquery/bt/template_format_version
diff --git a/bt5/erp5_jquery/bt/template_path_list b/product/ERP5/bootstrap/erp5_jquery/bt/template_path_list
similarity index 100%
rename from bt5/erp5_jquery/bt/template_path_list
rename to product/ERP5/bootstrap/erp5_jquery/bt/template_path_list
diff --git a/bt5/erp5_jquery/bt/template_registered_skin_selection_list b/product/ERP5/bootstrap/erp5_jquery/bt/template_registered_skin_selection_list
similarity index 100%
rename from bt5/erp5_jquery/bt/template_registered_skin_selection_list
rename to product/ERP5/bootstrap/erp5_jquery/bt/template_registered_skin_selection_list
diff --git a/bt5/erp5_jquery/bt/title b/product/ERP5/bootstrap/erp5_jquery/bt/title
similarity index 100%
rename from bt5/erp5_jquery/bt/title
rename to product/ERP5/bootstrap/erp5_jquery/bt/title
diff --git a/bt5/erp5_jquery/bt/version b/product/ERP5/bootstrap/erp5_jquery/bt/version
similarity index 100%
rename from bt5/erp5_jquery/bt/version
rename to product/ERP5/bootstrap/erp5_jquery/bt/version
-- 
2.30.9