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