~canonical-sysadmins/wordpress/wp-plugin-all-in-one-seo-pack

« back to all changes in this revision

Viewing changes to js/quickedit_functions.js

  • Committer: Paul Collins
  • Date: 2018-01-28 20:38:52 UTC
  • Revision ID: paul.collins@canonical.com-20180128203852-bpjvgwei07vz12zr
update from 2.3.13.2 to 2.4.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
})
33
33
 
 
34
jQuery(document).on( 'click', '.sitemap_max_urls_notice', function() {
 
35
 
 
36
    jQuery.ajax({
 
37
        url: ajaxurl,
 
38
        data: {
 
39
            action: 'aioseo_dismiss_sitemap_max_url_notice'
 
40
        }
 
41
    })
 
42
 
 
43
})
 
44
 
34
45
 
35
46
function aioseop_ajax_edit_meta_form( post_id, meta, nonce ) {
36
47
        var uform = jQuery('#aioseop_'+meta+'_' + post_id);
63
74
                loading += '</label><div style="float:left">Please wait…</div>';
64
75
                jQuery("div#aioseop_"+m+"_"+p).fadeIn('fast', function() {
65
76
                        var aioseop_sack = new sack(aioseopadmin.requestUrl);
66
 
                        aioseop_sack.execute = 1; 
 
77
                        aioseop_sack.execute = 1;
67
78
                        aioseop_sack.method = 'POST';
68
79
                        aioseop_sack.setVar( "action", "aioseop_ajax_save_meta");
69
80
                        aioseop_sack.setVar( "post_id", p );
76
87
                })
77
88
                jQuery("div#aioseop_"+m+"_"+p).html(loading);
78
89
                jQuery("div#aioseop_"+m+"_"+p).attr( "class", "aioseop_mpc_admin_meta_options" );
79
 
                
 
90
 
80
91
        })
81
 
}
 
 
b'\\ No newline at end of file'
 
92
}