请教一下,为啥调用不到我想要的函数
/////////////////////////////////////////////////////
// Ajax Framework End
/////////////////////////////////////////////////////
Ext.onReady(function() {
Ext.QuickTips.init();
Ext.util.CSS.swapStyleSheet('theme', '../aws_js/extjs/css/xtheme-gray.css');
var tb = new Ext.Toolbar('toolbar');
tb.add({
id:'editBut',
cls: 'x-btn-text-icon bmenu',
text:'编辑',
icon:'../aws_img/find_obj.gif',
tooltip: {text:'将当前客户信息切换至可编辑状态', title:'提示', autoHide:true},
handler: clickHandler
},{
id:'saveBut',
cls: 'x-btn-text-icon bmenu',
text:'保存',
tooltip: {text:'保存修改的客户信息', title:'提示', autoHide:true},
icon:'../aws_img/save.gif',
handler: clickHandler
}/*,'-'*/,{
id:'removeBut',
cls: 'x-btn-text-icon bmenu',
text:'删除',
tooltip: {text:'删除当前客户', title:'提示', autoHide:true},
handler: clickHandler,
icon:'../aws_img/delete2.gif'
},{
id:'accreditBut',
cls: 'x-btn-text-icon bmenu',
text:'授权',
tooltip: {text:'授权员工修改的客户信息', title:'提示', autoHide:true},
icon:'../aws_img/save.gif',
handler: clickHandler
},{
id:'refuseBut',
cls: 'x-btn-text-icon bmenu',
text:'收回权限',
tooltip: {text:'收回授权权限', title:'提示', autoHide:true},
icon:'../aws_img/save.gif',
handler: clickHandler