WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/27/2007 03:24:54 PM (15 years ago)
Author:
markjaquith
Message:

trailing tabs and whitespace cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/autosave-js.php

    r4760 r4953  
    2929    ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds();
    3030}
    31    
     31
    3232function autosave_update_nonce() {
    3333    var response = nonceAjax.response;
     
    3939    var res = parseInt(response);
    4040    var message;
    41    
     41
    4242    if(isNaN(res)) {
    4343        message = "<?php echo js_escape(__('Error: ')); ?>" + response;
     
    7171    var res = parseInt(response);
    7272    var message;
    73    
     73
    7474    if(isNaN(res)) {
    7575        message = "<?php echo js_escape(__('Error: ')); ?>" + response;
     
    128128    }
    129129    catslist = goodcats.join(",");
    130    
     130
    131131    autosaveAjax.setVar("action", "autosave");
    132132    autosaveAjax.setVar("cookie", document.cookie);
     
    140140        autosaveAjax.setVar("ping_status", 'open');
    141141    if(form.excerpt)
    142         autosaveAjax.setVar("excerpt", form.excerpt.value);     
    143        
     142        autosaveAjax.setVar("excerpt", form.excerpt.value);
     143
    144144    if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 || rich == false ) {
    145145        autosaveAjax.setVar("content", form.content.value);
     
    148148        autosaveAjax.setVar("content", form.content.value);
    149149    }
    150        
     150
    151151    autosaveAjax.requestFile = "<?php echo get_option('siteurl'); ?>/wp-admin/admin-ajax.php";
    152152    autosaveAjax.method = "POST";
Note: See TracChangeset for help on using the changeset viewer.