Commit b43c7be2 authored by Tristan Cavelier's avatar Tristan Cavelier

Fix bug: localstorage.js

parent c60c5419
......@@ -159,9 +159,9 @@ var newLocalStorage = function ( spec, my ) {
'jio/local/'+priv.username+'/'+
priv.applicationname+'/'+command.getPath());
if (!doc) {
that.fail(command,{status:404,statusText:'Not Found.',
message:'Document "'+ command.getPath() +
'" not found in localStorage.'});
that.fail({status:404,statusText:'Not Found.',
message:'Document "'+ command.getPath() +
'" not found in localStorage.'});
} else {
if (command.getOption('metadata_only')) {
delete doc.content;
......
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