Ext. MessageBox .confirm = function(title, msg, fn) { this.show({ title : title, msg : msg, buttons:{yes:'确定',no:'取消'}, fn : fn, icon : this.QUESTION }); return this; }