Make WordPress Core

Ticket #25696: inline.diff

File inline.diff, 938 bytes (added by shanept, 11 years ago)

Changes to inline-edit-tax.js and inline-edit-post.js.

  • inline-edit-post.js

     
    223223                if ( typeof(id) == 'object' )
    224224                        id = this.getId(id);
    225225
     226                if ( $("#edit-"+id+" a.save").hasClass("button-primary-disabled") )
     227                        return false;
     228
     229                $("#edit-"+id+" a.save").addClass("button-primary-disabled");
    226230                $('table.widefat .spinner').show();
    227231
    228232                params = {
  • inline-edit-tax.js

     
    6060                if( typeof(id) == 'object' )
    6161                        id = this.getId(id);
    6262
     63                if ( $("#edit-"+id+" a.save").hasClass("button-primary-disabled") )
     64                        return false;
     65
     66                $("#edit-"+id+" a.save").addClass("button-primary-disabled");
    6367                $('table.widefat .spinner').show();
    6468
    6569                params = {