index.js 594 B

123456789101112131415161718192021222324
  1. Ext.onReady(function() {
  2. MODx.load({ xtype: 'gatewaymanager-page-index' });
  3. });
  4. // index page
  5. GatewayManager.page.Index = function(config) {
  6. config = config || {};
  7. Ext.applyIf(config,{
  8. buttons: {
  9. text: _('help_ex')
  10. ,handler: MODx.loadHelpPane
  11. }
  12. ,components: [{
  13. xtype: 'gatewaymanager-panel-index'
  14. ,renderTo: 'gatewaymanager-panel-index-div'
  15. }]
  16. });
  17. GatewayManager.page.Index.superclass.constructor.call(this, config);
  18. };
  19. Ext.extend(GatewayManager.page.Index, MODx.Component);
  20. Ext.reg('gatewaymanager-page-index', GatewayManager.page.Index);