Make WordPress Core

Ticket #21106: 21106.patch

File 21106.patch, 433 bytes (added by SergeyBiryukov, 13 years ago)
  • wp-includes/js/wp-lists.dev.js

     
    7878                if ( !s )
    7979                        return false;
    8080
    81                 if ( !e.is('[class^="add:' + list.id + ':"]') )
     81                if ( !e.is('[id="' + s.what + '-add-submit"]') )
    8282                        return !wpList.add.call( list, e, s );
    8383
    8484                if ( !s.element )