function wpsp_admin_load_popup(action, id, nonce, title, width, height, margin_top){
    
    wpsp_show_admin_popup(title, width, height, margin_top);
    
    var data = {
        'action': 'wpsp_'+action,
        'load_id': id,
        'nonce' : nonce
    };

    wpspjq.post(wpsp_admin.ajax_url, data, function(response) {
        wpspjq('#wpsp-admin-popup-wait').hide();
        wpspjq('#wpsp-admin-popup-body').html(response);
        wpspjq('#wpsp-admin-popup-body').show();
    });
    
}
/**
 * Loads popup with given action and other parameters
 */
Loads popup with given action and other parameters
Loads popup with given action and other parameters
function wpsp_admin_load_popup(action, id, nonce, title, width, height, margin_top){
    wpsp_show_admin_popup(title, width, height, margin_top);
    var data = {
        'action': 'wpsp_'+action,
        'load_id': id,
        'nonce' : nonce
    };
    wpspjq.post(wpsp_admin.ajax_url, data, function(response) {
        wpspjq('#wpsp-admin-popup-wait').hide();
        wpspjq('#wpsp-admin-popup-body').html(response);
        wpspjq('#wpsp-admin-popup-body').show();
    });
}
function wpsp_admin_load_popup ( action , id , nonce , title , width , height , margin_top ) { wpsp_show_admin_popup ( title , width , height , margin_top ) ; var data = { 'action' : 'wpsp_' + action , 'load_id' : id , 'nonce' : nonce } ; wpspjq . post ( wpsp_admin . ajax_url , data , function ( response ) { wpspjq ( '#wpsp-admin-popup-wait' ) . hide ( ) ; wpspjq ( '#wpsp-admin-popup-body' ) . html ( response ) ; wpspjq ( '#wpsp-admin-popup-body' ) . show ( ) ; } ) ; }
Loads popup with given action and other parameters
Loads popup with given action and other parameters