htMsgBox.js 508 B

12345678910111213141516171819202122
  1. Ext.override(Ext.MessageBox, {
  2. statics: {
  3. OK : {text: '确定', itemId: 'ok', ui: 'action'}
  4. }
  5. //,
  6. //
  7. // alert: function(title, message, fn, scope) {
  8. // return this.show({
  9. // title: title || null,
  10. // message: message || null,
  11. // buttons: htMsgBox.OK,
  12. // promptConfig: false,
  13. // fn: function() {
  14. // if (fn) {
  15. // fn.apply(scope, arguments);
  16. // }
  17. // },
  18. // scope: scope
  19. // });
  20. // }
  21. });