=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js' --- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2014-02-04 14:39:04 +0000 +++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2014-02-04 14:52:03 +0000 @@ -1762,7 +1762,7 @@ // after render if (NS.isSessionStorage) { - web.storage.session.set(layout, 'table'); + web.storage.session.set(layout, 'chart'); } ns.app.viewport.setGui(layout, xLayout, isUpdateGui); @@ -4927,7 +4927,7 @@ cls: 'ns-menu-item-noicon', disabled: !(NS.isSessionStorage && JSON.parse(sessionStorage.getItem('dhis2')) && JSON.parse(sessionStorage.getItem('dhis2'))['table']), handler: function() { - window.location.href = ns.core.init.contextPath + '/dhis-web-pivot/app/index.html?s=chart'; + window.location.href = ns.core.init.contextPath + '/dhis-web-pivot/app/index.html?s=table'; } } ], @@ -4969,7 +4969,7 @@ }, '-', { - text: 'Open this table as map' + '  ', //i18n + text: 'Open this chart as map' + '  ', //i18n cls: 'ns-menu-item-noicon', disabled: !(NS.isSessionStorage && ns.app.layout), handler: function() {