Fix race condition in the comments river XHR, props mintindeed, fixes #17483
git-svn-id: http://svn.automattic.com/wordpress/trunk@17965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
af3ce311a0
commit
3938bcc3e7
|
@ -344,10 +344,13 @@ wpList = {
|
|||
else
|
||||
list.append(e);
|
||||
|
||||
} else if ( s.pos < 0 ) {
|
||||
list.prepend(e);
|
||||
} else {
|
||||
list.append(e);
|
||||
} else if ( 0 === $('#' + s.element).size() ) {
|
||||
|
||||
if ( s.pos < 0 ) {
|
||||
list.prepend(e);
|
||||
} else {
|
||||
list.append(e);
|
||||
}
|
||||
}
|
||||
|
||||
if ( s.alt ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -112,7 +112,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
$scripts->add( 'autosave', "/wp-includes/js/autosave$suffix.js", array('schedule', 'wp-ajax-response'), '20110515' );
|
||||
$scripts->add_data( 'autosave', 'group', 1 );
|
||||
|
||||
$scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20110504' );
|
||||
$scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20110518' );
|
||||
$scripts->add_data( 'wp-lists', 'group', 1 );
|
||||
|
||||
$scripts->add( 'scriptaculous-root', '/wp-includes/js/scriptaculous/wp-scriptaculous.js', array('prototype'), '1.8.3');
|
||||
|
|
Loading…
Reference in New Issue