%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/js/
Upload File :
Create Path :
Current File : /home/emergentqj/jugement/wp-content/plugins/backup-guard-platinum/public/js/sgrequesthandler.wordpress.js

sgRequestHandler.prototype.prepareData = function() {
    this.url = getAjaxUrl();

    if(typeof this.data === 'undefined') {
        if (this.dataIsObject === true) this.data = {};
        else this.data = '';
    }

    var action = 'backup_guard_'+this.action;
    if (this.dataIsObject === true) {
        //if formdata
        if(this.data instanceof FormData){
            this.data.append('action', action);
        }
        else {
            this.data['action'] = action;
        }
    }
    else {
        if (this.data !== '') this.data += '&';
        this.data += 'action='+action;
    }
}

Zerion Mini Shell 1.0