Commit ee27a732 authored by Vincent Bechu's avatar Vincent Bechu

erp5_officejs: add cache for crib

parent 2a81100e
......@@ -122,7 +122,9 @@
var gadget = this;
gadget.options = options;
gadget.options.doc.title = gadget.options.doc.title || "";
gadget.options.jio_key = gadget.options.doc.reference;
if (gadget.options.doc.reference !== undefined) {
gadget.options.jio_key = gadget.options.doc.reference;
}
return new RSVP.Queue()
.push(function () {
return RSVP.all([
......
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1486743320.44</float>
<float>1486976002.41</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