Commit e17b6482 authored by Papa Tamsir Kane's avatar Papa Tamsir Kane Committed by Papa Tamsir Kane

erp5_officejs: Bookmark Manager, update migration code

parent df74a9f6
......@@ -18,10 +18,10 @@
// This is migration code from url_string to coordinate_text.
// Can be removed whenever deemed no longer necessary.
// May consider removing aquired method jio_put and setSetting above.
// Also remove [url_string, url_string] from column list below.
// begin migration code
.allowPublicAcquisition("jio_allDocs", function (param_list) {
var gadget = this, data, query_result;
param_list[0].select_list.push('url_string');
return gadget.jio_allDocs(param_list[0])
.push(function (result) {
query_result = result;
......@@ -50,6 +50,7 @@
}
})
.push(function () {
param_list[0].select_list.pop('url_string');
return data;
});
})
......@@ -81,8 +82,7 @@
['reference', 'Reference'],
['title', 'Title'],
['coordinate_text', 'Url'],
['description', 'Description'],
['url_string', 'url_string']
['description', 'Description']
];
return result[0].render({
erp5_document: {
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>962.4164.48194.47035</string> </value>
<value> <string>962.5348.11380.64921</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1505311051.82</float>
<float>1505382104.85</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