Commit 0ab5ffe8 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: display the attachment content type

parent 3347e3f9
......@@ -222,7 +222,7 @@
}
var source_title = entry.value[gadget.state.source_column] || '',
attachment_list = entry.value
.Event_getAttachmentList || [],
.DiscussionPost_getAttachmentList || [],
attachment_element_list = [],
j,
word_list = source_title.split(' '),
......@@ -243,7 +243,7 @@
download: attachment_list[j].title
}),
' (',
attachment_list[j].content_type || 'application/octet-stream',
attachment_list[j].content_type || 'attachment/octet-stream',
')'
])
);
......@@ -320,7 +320,7 @@
limit: limit_options,
select_list: ['asStrippedHTML', gadget.state.date_column,
gadget.state.source_column,
'Event_getAttachmentList'],
'DiscussionPost_getAttachmentList'],
sort_on: [[gadget.state.date_column, 'ASC'], ['uid', 'ASC']]
})
.push(function (result) {
......
......@@ -238,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1017.21412.29767.13277</string> </value>
<value> <string>1017.21009.60301.28108</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1718640624.19</float>
<float>1718616130.73</float>
<string>UTC</string>
</tuple>
</state>
......
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