Loading template/app/controller/Classes.js +2 −4 Original line number Diff line number Diff line Loading @@ -153,8 +153,7 @@ Ext.define('Docs.controller.Classes', { } this.getViewport().setPageTitle(""); Ext.getCmp('doctabs').activateTab('#/api'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('classtree'); Ext.getCmp('treecontainer').showTree('classtree'); Ext.getCmp('card-panel').layout.setActiveItem('classindex'); }, Loading @@ -168,8 +167,7 @@ Ext.define('Docs.controller.Classes', { */ loadClass: function(url, noHistory) { Ext.getCmp('card-panel').layout.setActiveItem('classcontainer'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('classtree'); Ext.getCmp('treecontainer').showTree('classtree'); if (this.activeUrl === url) { this.scrollContent(); Loading template/app/controller/Examples.js +2 −4 Original line number Diff line number Diff line Loading @@ -38,8 +38,7 @@ Ext.define('Docs.controller.Examples', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/example'); Ext.getCmp('card-panel').layout.setActiveItem('exampleindex'); Ext.getCmp('tree-container').layout.setActiveItem('exampletree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('exampletree'); }, loadExample: function(url, noHistory) { Loading @@ -59,7 +58,6 @@ Ext.define('Docs.controller.Examples', { activateExampleCard: function() { Ext.getCmp('card-panel').layout.setActiveItem('example'); Ext.getCmp('tree-container').layout.setActiveItem('exampletree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('exampletree'); } }); template/app/controller/Guides.js +2 −4 Original line number Diff line number Diff line Loading @@ -81,8 +81,7 @@ Ext.define('Docs.controller.Guides', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/guide'); Ext.getCmp('card-panel').layout.setActiveItem('guideindex'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('guidetree'); Ext.getCmp('treecontainer').showTree('guidetree'); }, /** Loading @@ -93,8 +92,7 @@ Ext.define('Docs.controller.Guides', { */ loadGuide: function(url, noHistory) { Ext.getCmp('card-panel').layout.setActiveItem('guide'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('guidetree'); Ext.getCmp('treecontainer').showTree('guidetree'); if (this.activeUrl === url) { return this.scrollContent(); Loading template/app/controller/Index.js +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ Ext.define('Docs.controller.Index', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#'); Ext.getCmp('card-panel').layout.setActiveItem('welcome'); Ext.getCmp('tree-container').hide(); Ext.getCmp('treecontainer').hide(); }, /** Loading template/app/controller/Videos.js +2 −4 Original line number Diff line number Diff line Loading @@ -31,8 +31,7 @@ Ext.define('Docs.controller.Videos', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/video'); Ext.getCmp('card-panel').layout.setActiveItem('videoindex'); Ext.getCmp('tree-container').layout.setActiveItem('videotree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('videotree'); }, loadVideo: function(url, noHistory) { Loading @@ -54,8 +53,7 @@ Ext.define('Docs.controller.Videos', { activateVideoCard: function() { Ext.getCmp('card-panel').layout.setActiveItem('video'); Ext.getCmp('tree-container').layout.setActiveItem('videotree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('videotree'); }, getUrl: function(videoId) { Loading Loading
template/app/controller/Classes.js +2 −4 Original line number Diff line number Diff line Loading @@ -153,8 +153,7 @@ Ext.define('Docs.controller.Classes', { } this.getViewport().setPageTitle(""); Ext.getCmp('doctabs').activateTab('#/api'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('classtree'); Ext.getCmp('treecontainer').showTree('classtree'); Ext.getCmp('card-panel').layout.setActiveItem('classindex'); }, Loading @@ -168,8 +167,7 @@ Ext.define('Docs.controller.Classes', { */ loadClass: function(url, noHistory) { Ext.getCmp('card-panel').layout.setActiveItem('classcontainer'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('classtree'); Ext.getCmp('treecontainer').showTree('classtree'); if (this.activeUrl === url) { this.scrollContent(); Loading
template/app/controller/Examples.js +2 −4 Original line number Diff line number Diff line Loading @@ -38,8 +38,7 @@ Ext.define('Docs.controller.Examples', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/example'); Ext.getCmp('card-panel').layout.setActiveItem('exampleindex'); Ext.getCmp('tree-container').layout.setActiveItem('exampletree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('exampletree'); }, loadExample: function(url, noHistory) { Loading @@ -59,7 +58,6 @@ Ext.define('Docs.controller.Examples', { activateExampleCard: function() { Ext.getCmp('card-panel').layout.setActiveItem('example'); Ext.getCmp('tree-container').layout.setActiveItem('exampletree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('exampletree'); } });
template/app/controller/Guides.js +2 −4 Original line number Diff line number Diff line Loading @@ -81,8 +81,7 @@ Ext.define('Docs.controller.Guides', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/guide'); Ext.getCmp('card-panel').layout.setActiveItem('guideindex'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('guidetree'); Ext.getCmp('treecontainer').showTree('guidetree'); }, /** Loading @@ -93,8 +92,7 @@ Ext.define('Docs.controller.Guides', { */ loadGuide: function(url, noHistory) { Ext.getCmp('card-panel').layout.setActiveItem('guide'); Ext.getCmp('tree-container').show(); Ext.getCmp('tree-container').layout.setActiveItem('guidetree'); Ext.getCmp('treecontainer').showTree('guidetree'); if (this.activeUrl === url) { return this.scrollContent(); Loading
template/app/controller/Index.js +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ Ext.define('Docs.controller.Index', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#'); Ext.getCmp('card-panel').layout.setActiveItem('welcome'); Ext.getCmp('tree-container').hide(); Ext.getCmp('treecontainer').hide(); }, /** Loading
template/app/controller/Videos.js +2 −4 Original line number Diff line number Diff line Loading @@ -31,8 +31,7 @@ Ext.define('Docs.controller.Videos', { loadIndex: function() { Ext.getCmp('doctabs').activateTab('#/video'); Ext.getCmp('card-panel').layout.setActiveItem('videoindex'); Ext.getCmp('tree-container').layout.setActiveItem('videotree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('videotree'); }, loadVideo: function(url, noHistory) { Loading @@ -54,8 +53,7 @@ Ext.define('Docs.controller.Videos', { activateVideoCard: function() { Ext.getCmp('card-panel').layout.setActiveItem('video'); Ext.getCmp('tree-container').layout.setActiveItem('videotree'); Ext.getCmp('tree-container').show(); Ext.getCmp('treecontainer').showTree('videotree'); }, getUrl: function(videoId) { Loading