Commit 9b18c636 authored by Jérome Perrin's avatar Jérome Perrin

pdm: use field from PDM field library for Component default image

This fixes a problem that a broken image like

    <img src="?quality=75.0&amp;display=thumbnail&amp;format=png" alt="Image">

was displayed when no image have been uploaded.

This was working fine on product, this makes component aligned with
product for this field.
parent d656f635
...@@ -9,11 +9,7 @@ ...@@ -9,11 +9,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>title</string>
<string>description</string>
<string>default</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -73,30 +69,18 @@ ...@@ -73,30 +69,18 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_thumbnail</string> </value> <value> <string>my_default_image_absolute_url</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>File_viewFieldLibrary</string> </value> <value> <string>Base_viewPDMFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string>Image</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