87,910
社区成员
发帖
与我相关
我的任务
分享
setActive: function (className, title) {
var mainPanel = this.getMainPanel(),
path, example, className;
if (!title) {
title = className.split('.').reverse()[0];
} document.title = document.title.split(' - ')[0] + ' - ' + title;
// //create the example
example = Ext.create(className);
mainPanel.removeAll();
mainPanel.add(example);
},