jqueryview.js
function layoutChanged(oldpage, newpage) {
      if (oldpage && oldpage.fixlayout) return true;
      if (lang(oldpage) !== lang(newpage)) return true;
      var currentlayout = $layout.attr('data-render-layout') || 'main-layout';
      var newlayout = generator.layoutTemplate(newpage);
      return (newlayout !== currentlayout);
    }
function layoutChanged(oldpage, newpage) {
      if (oldpage && oldpage.fixlayout) return true;
      if (lang(oldpage) !== lang(newpage)) return true;
      var currentlayout = $layout.attr('data-render-layout') || 'main-layout';
      var newlayout = generator.layoutTemplate(newpage);
      return (newlayout !== currentlayout);
    }
function layoutChanged ( oldpage , newpage ) { if ( oldpage && oldpage . fixlayout ) return true ; if ( lang ( oldpage ) !== lang ( newpage ) ) return true ; var currentlayout = $layout . attr ( 'data-render-layout' ) || 'main-layout' ; var newlayout = generator . layoutTemplate ( newpage ) ; return ( newlayout !== currentlayout ) ; }
return true if newpage layout is different from current layout
return true if newpage layout is different from current layout