| 1234567891011121314151617181920212223242526272829303132333435363738 |
- var HybridAuth = function (config) {
- config = config || {};
- HybridAuth.superclass.constructor.call(this, config);
- };
- Ext.extend(HybridAuth, Ext.Component, {
- grid: {},
- combo: {},
- window: {},
- config: {},
- utils: {}
- });
- Ext.reg('HybridAuth', HybridAuth);
- HybridAuth = new HybridAuth();
- Ext.ComponentMgr.onAvailable("modx-user-tabs", function() {
- this.on("beforerender", function() {
- this.add({
- title: _("ha.services"),
- border: false,
- items: [{
- layout: "anchor",
- border: false,
- items: [{
- html: _("ha.services_tip"),
- border: false,
- bodyCssClass: "panel-desc"
- }, {
- xtype: "hybridauth-grid-services",
- anchor: "100%",
- cls: "main-wrapper",
- userId: HybridAuth.config.user_id
- }]
- }]
- });
- });
- });
|