mirror of
https://github.com/nextcloud/server.git
synced 2026-03-27 04:43:20 -04:00
Merge branch 'master' of gitorious.org:owncloud/owncloud
This commit is contained in:
commit
c94f39b488
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ if(typeof localStorage !='undefined'){
|
|||
return localStorage.setItem(OC.localStorage.namespace+name,JSON.stringify(item));
|
||||
},
|
||||
getItem:function(name){
|
||||
if(localStorage.getItem(OC.localStorage.namespace+name)==null){return null;}
|
||||
return JSON.parse(localStorage.getItem(OC.localStorage.namespace+name));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue