From 5b6d91c84336b7a73ac2d180c9018df273f7ecc9 Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@nexedi.com>
Date: Fri, 1 Jun 2018 15:58:08 +0000
Subject: [PATCH] erp5_dms: add possibility to maximise svg editor

---
 .../my_text_content.xml                       | 22 +++++++++++--------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebIllustration_viewSVGEditor/my_text_content.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebIllustration_viewSVGEditor/my_text_content.xml
index f94d629b34..f819a9d90a 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebIllustration_viewSVGEditor/my_text_content.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/WebIllustration_viewSVGEditor/my_text_content.xml
@@ -6,6 +6,14 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>delegated_list</string> </key>
+            <value>
+              <list>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>my_text_content</string> </value>
@@ -33,10 +41,6 @@
                     <key> <string>form_id</string> </key>
                     <value> <string></string> </value>
                 </item>
-                <item>
-                    <key> <string>target</string> </key>
-                    <value> <string></string> </value>
-                </item>
               </dictionary>
             </value>
         </item>
@@ -53,7 +57,7 @@
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>target</string> </key>
+                    <key> <string>title</string> </key>
                     <value> <string></string> </value>
                 </item>
               </dictionary>
@@ -65,15 +69,15 @@
               <dictionary>
                 <item>
                     <key> <string>field_id</string> </key>
-                    <value> <string>my_data</string> </value>
+                    <value> <string>my_text_content</string> </value>
                 </item>
                 <item>
                     <key> <string>form_id</string> </key>
-                    <value> <string>Document_viewSVGEditor</string> </value>
+                    <value> <string>Base_viewWebFieldLibrary</string> </value>
                 </item>
                 <item>
-                    <key> <string>target</string> </key>
-                    <value> <string>Click to edit the target</string> </value>
+                    <key> <string>title</string> </key>
+                    <value> <string>Page Content</string> </value>
                 </item>
               </dictionary>
             </value>
-- 
2.30.9