X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..8a06f4f9392d1ac373442f82ee40428a3cb81395:/wp-includes/js/wp-lists.js diff --git a/wp-includes/js/wp-lists.js b/wp-includes/js/wp-lists.js index 884f02a6..a4d5df32 100644 --- a/wp-includes/js/wp-lists.js +++ b/wp-includes/js/wp-lists.js @@ -88,6 +88,8 @@ var wpList = { var res = wpAjax.parseAjaxResponse(r, s.response, s.element); if ( !res || res.errors ) { return false; } + if ( true === res ) { return true; } + jQuery.each( res.responses, function() { wpList.add.call( list, this.data, $.extend( {}, s, { // this.firstChild.nodevalue pos: this.position || 0,