Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /home/palandch/public_html/manager/assets/modext/workspace/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/palandch/public_html/manager/assets/modext/workspace/combos.js
/**
 * Displays a dropdown list of modTransportProviders
 * 
 * @class MODx.combo.Provider
 * @extends MODx.combo.ComboBox
 * @param {Object} config An object of options.
 * @xtype combo-provider
 */
MODx.combo.Provider = function(config) {
    config = config || {};
    Ext.applyIf(config,{
        name: 'provider'
        ,hiddenName: 'provider'
        ,url: MODx.config.connectors_url+'workspace/providers.php'
        ,baseParams: {
            action: 'getList'
            ,combo: true
        }
        ,editable: false
        ,pageSize: 20
    });
    MODx.combo.Provider.superclass.constructor.call(this,config);
};
Ext.extend(MODx.combo.Provider,MODx.combo.ComboBox);
Ext.reg('modx-combo-provider',MODx.combo.Provider);

/**
 * Displays a dropdown list of modWorkspaces
 * 
 * @class MODx.combo.Workspace
 * @extends MODx.combo.ComboBox
 * @param {Object} config An object of options.
 * @xtype modx-combo-workspace
 */
MODx.combo.Workspace = function(config) {
    config = config || {};
    Ext.applyIf(config,{
        name: 'workspace'
        ,hiddenName: 'workspace'
        ,url: MODx.config.connectors_url+'workspace/index.php'
        ,editable: false
        ,pageSize: 20
    });
    MODx.combo.Workspace.superclass.constructor.call(this,config);
};
Ext.extend(MODx.combo.Workspace,MODx.combo.ComboBox);
Ext.reg('modx-combo-workspace',MODx.combo.Workspace);

Spamworldpro Mini