Commit 454dfc51 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- remove not used code

- create folder to themes of sheet editor
- add new theme to sheet editor

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41830 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a1728cb
......@@ -38,25 +38,15 @@
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
// This function will be called when the user click the save button. As\n
<value> <unicode>// This function will be called when the user click the save button. As\n
// submitAction function may have changed the action before, it\'s better to\n
// reset the form action to it\'s original behaviour. This is actually\n
// usefull when the user click the back button.\n
function clickSaveButton(act){\n
changed = false;\n
document.forms[0].action = act;\n
// Here we should use\n
document.forms[0].elements[\'field_my_text_content\'].value = $.sheet.instance[0].getSource(true);\n
}\n
\n
link = $("<link>");\n
link.attr("id", "dynamic_css");\n
link.attr({type: \'text/css\', rel:\'stylesheet\', href:\'sheet_default_theme.css\'});\n
$("head").append(link);
]]></unicode> </value>
}</unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>jquery_sheet_theme</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -307,7 +307,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
<value> <string>Default Theme</string> </value>
</item>
</dictionary>
</pickle>
......
31
\ No newline at end of file
32
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment