Merge branch 'master' of gitorious.org:owncloud/owncloud
This commit is contained in:
commit
c94f39b488
|
@ -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 New Issue