Commit 46cb1767 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_discussion: make post content required

parent 165d2860
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>default</string> <string>default</string>
<string>title</string> <string>title</string>
<string>validator_field_id</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -102,6 +103,10 @@ ...@@ -102,6 +103,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Body</string> </value> <value> <string>Body</string> </value>
</item> </item>
<item>
<key> <string>validator_field_id</string> </key>
<value> <string>my_core_mode_required_text_content_validator</string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>validator_field_id</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -91,6 +92,10 @@ ...@@ -91,6 +92,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Body</string> </value> <value> <string>Body</string> </value>
</item> </item>
<item>
<key> <string>validator_field_id</string> </key>
<value> <string>my_core_mode_required_text_content_validator</string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
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