fix localStorage detection for ie 6 and 7

This commit is contained in:
Sebastian Sdorra
2013-01-24 08:47:05 +01:00
parent 29a3f682a2
commit 944a2679bc

View File

@@ -577,7 +577,7 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
Ext.onReady(function(){
var stateProvider;
if (localStorage){
if ( typeof(Storage) !== "undefined" ){
if (debug){
console.debug('use localStore to save application state');
}