Skip to content
Snippets Groups Projects
Commit c94f39b4 authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

Merge branch 'master' of gitorious.org:owncloud/owncloud

parents 93b63cf3 98e0db15
No related branches found
No related tags found
No related merge requests found
...@@ -171,6 +171,7 @@ if(typeof localStorage !='undefined'){ ...@@ -171,6 +171,7 @@ if(typeof localStorage !='undefined'){
return localStorage.setItem(OC.localStorage.namespace+name,JSON.stringify(item)); return localStorage.setItem(OC.localStorage.namespace+name,JSON.stringify(item));
}, },
getItem:function(name){ getItem:function(name){
if(localStorage.getItem(OC.localStorage.namespace+name)==null){return null;}
return JSON.parse(localStorage.getItem(OC.localStorage.namespace+name)); return JSON.parse(localStorage.getItem(OC.localStorage.namespace+name));
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment