Commit d5e4f7f6 authored by Jérome Perrin's avatar Jérome Perrin

officejs_support_request_ui: enable "Maximize" feature of editor

On both the "create new support request" and "post new message on an
existing support request", enable the "Maximize" button so that users
can author their message in larger editor.
parent aa991ac0
......@@ -112,7 +112,7 @@
<item>
<key> <string>text_content</string> </key>
<value> <string>CACHE MANIFEST\n
# v1.0.5\n
# v1.0.6\n
CACHE:\n
font-awesome/font-awesome-webfont.woff2\n
echarts-all.js\n
......@@ -360,7 +360,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1540870337.1</float>
<float>1542078307.44</float>
<string>GMT+9</string>
</tuple>
</state>
......
......@@ -115,7 +115,8 @@
key: "comment",
portal_type: "HTML Post",
editable: true,
editor: preferred_editor
editor: preferred_editor,
maximize: true
})]);
}
).push(function () {
......
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1539946621.33</float>
<float>1542273914.05</float>
<string>GMT+9</string>
</tuple>
</state>
......
......@@ -127,7 +127,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'editor\', context.Base_getEditorFieldPreferredTextEditor()), (\'portal_type\', \'HTML Post\'), (\'maximize\', False)]</string> </value>
<value> <string>python: [(\'editor\', context.Base_getEditorFieldPreferredTextEditor()), (\'portal_type\', \'HTML Post\'), (\'maximize\', True)]</string> </value>
</item>
</dictionary>
</pickle>
......
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