Commit 4d8e4780 authored by Sven Franck's avatar Sven Franck

erp5_officejs_afs_directory: build directory only from json files

parent 8c5098a6
......@@ -57,7 +57,7 @@
for (i = 0, len = data_list.length; i < len; i += 1) {
data_entry = data_list[i];
if (data_entry.path !== "README.md") {
if (data_entry.path.indexOf(".json") > -1) {
result_list.push({
id: data_entry.download_url,
value: {}
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>953.59499.42581.16981</string> </value>
<value> <string>954.54677.7080.40823</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1473864764.58</float>
<float>1477403595.09</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