Commit b233a99c authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Sebastien Robin

Deleting some unneeded files.

parent 9af14f8a
......@@ -713,6 +713,11 @@
priv.done_loadDocument = function ( returneddocument ) {
priv.res.message = 'Document loaded.';
priv.res.document = returneddocument;
// transform date into ms
priv.res.document.lastModified =
new Date(priv.res.document.lastModified).getTime();
priv.res.document.creationDate =
new Date(priv.res.document.creationDate).getTime();
},
priv.fail_saveDocument = function () {
priv.res.isSaved = false;
......
......@@ -380,11 +380,11 @@
that.getStoragePassword() )},
success: function (xmlData) {
doc.lastModified = (
new Date($($("lp1\\:getlastmodified",
xmlData).get(0)).text())).getTime();
$($("lp1\\:getlastmodified",
xmlData).get(0)).text());
doc.creationDate = (
new Date($($("lp1\\:creationdate",
xmlData).get(0)).text())).getTime();
$($("lp1\\:creationdate",
xmlData).get(0)).text());
doc.fileName = that.getFileName();
if (settings.getContent) {
getContent();
......
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