[quote][url]http://www.sencha.com/forum/archive/index.php/t-137791.html?s=24cd824c2237f4e424676344ad9b2324[/url][/quote]
打开文件
原配置
改成
打开文件
vi ext-4.0.2a/locale/ext-lang-zh_CN.js
原配置
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "确定",
cancel : "取消",
yes : "是",
no : "否"
};
}
改成
if (Ext.window.MessageBox) {
Ext.window.MessageBox.prototype.buttonText = {
ok : "确定",
cancel : "取消",
yes : "是",
no : "否"
};
}
Ext.MessageBox = Ext.Msg = new Ext.window.MessageBox();