Updated layout.js
Updated layout.js

dojo.connect(legendTB, 'onClick', function () {
            navigateStack('legendPanel'); to dojo.connect(button, 'onClick', function () {
            navigateStack('legendPanel');
NCPS/HTML5,NCPS/HTML5,jfitzgerald79/HTML5,jfitzgerald79/HTML5