Commit f0589b40 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Bookmark Manager, replace string field by textarea for description

parent 39e4c1e7
......@@ -194,6 +194,10 @@ gadget_erp5_sort_editor.html\n
gadget_erp5_sort_editor.js\n
gadget_erp5_field_password.html\n
gadget_erp5_field_password.js\n
gadget_erp5_field_textarea.html\n
gadget_erp5_field_textarea.js\n
gadget_html5_textarea.html\n
gadget_html5_textarea.js\n
\n
gadget_erp5_field_checkbox.html\n
gadget_erp5_field_checkbox.js\n
......@@ -354,7 +358,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.29120.20296.36078</string> </value>
<value> <string>961.40807.30284.14097</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -372,7 +376,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1502953757.56</float>
<float>1503579323.73</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -23,7 +23,7 @@
return form_gadget.getContent();
})
.push(function (doc) {
doc.modification_date = (new Date()).toISOString();
doc.modification_date = (new Date()).toUTCString();
return gadget.jio_post(doc);
})
.push(function () {
......@@ -92,7 +92,7 @@
"editable": 1,
"key": "description",
"hidden": 0,
"type": "StringField"
"type": "TextAreaField"
},
"my_portal_type": {
"description": "The name of a document in ERP5",
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.11865.36663.5376</string> </value>
<value> <string>961.40804.27282.46165</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1501841031.15</float>
<float>1503577300.12</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,7 +50,7 @@
doc = gadget.state.doc;
doc.text_content = content.text_content;
}
doc.modification_date = (new Date()).toISOString();
doc.modification_date = (new Date()).toUTCString();
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
......@@ -120,7 +120,7 @@
"editable": 1,
"key": "description",
"hidden": 0,
"type": "StringField"
"type": "TextAreaField"
}
}},
"_links": {
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.16277.24517.44253</string> </value>
<value> <string>961.40803.35937.59409</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1503056104.29</float>
<float>1503577301.58</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