Commit a2099bbb authored by Papa Tamsir Kane's avatar Papa Tamsir Kane

erp5_officejs: Bookmark Manager: do not use text_content

parent e45db062
...@@ -45,10 +45,8 @@ ...@@ -45,10 +45,8 @@
doc = content; doc = content;
content.portal_type = gadget.state.doc.portal_type; content.portal_type = gadget.state.doc.portal_type;
content.parent_relative_url = gadget.state.doc.parent_relative_url; content.parent_relative_url = gadget.state.doc.parent_relative_url;
content.text_content = gadget.state.doc.text_content;
} else { } else {
doc = gadget.state.doc; doc = gadget.state.doc;
doc.text_content = content.text_content;
} }
doc.modification_date = (new Date()).toUTCString(); doc.modification_date = (new Date()).toUTCString();
return gadget.jio_put(gadget.state.jio_key, doc); return gadget.jio_put(gadget.state.jio_key, doc);
......
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