fixed so the app is working offline again

This commit is contained in:
Jeena 2014-05-22 22:54:43 +02:00
parent 22d6761ba3
commit aec6cd079b
3 changed files with 24 additions and 9 deletions

View file

@ -227,7 +227,7 @@ OwnCloud.prototype.append = function(key, array) {
if (typeof tmp !== "undefined") tmp = JSON.parse(tmp);
else tmp = [];
tmp.concat(options.items);
tmp.concat(array);
localStorage[key] = JSON.stringify(tmp);
};