Commit 65c1dc88 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_travel_expense: Use standard way to define custom signature_sub_storage

parent fd770219
......@@ -322,13 +322,15 @@
type: "erp5",
url: hateoas_url,
default_view_reference: default_view
},
signature_sub_storage: {
type: "query",
sub_storage: {
type: "indexeddb",
database: "expense-hash-list"
}
}
});
gadget.state_parameter_dict.jio_storage.__storage._signature_sub_storage = jIO.createJIO({
type: "indexeddb",
database: gadget.state_parameter_dict.jio_storage.__storage._signature_hash
});
gadget.state_parameter_dict.jio_storage.__storage._signature_sub_storage.__storage._sub_storage = gadget.state_parameter_dict.jio_storage.__storage._local_sub_storage;
});
})
......
......@@ -68,6 +68,7 @@
<value>
<tuple>
<string>contributor/person_module/2</string>
<string>contributor/person_module/5</string>
</tuple>
</value>
</item>
......@@ -224,7 +225,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>supercedriclen</string> </value>
<value> <string>cedric.le.ninivin</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -238,7 +239,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>956.57502.32307.34304</string> </value>
<value> <string>961.29586.17351.25838</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -256,7 +257,7 @@
</tuple>
<state>
<tuple>
<float>1490349163.71</float>
<float>1502904164.51</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