Fix updating of custom fields, fixes #17483
git-svn-id: https://develop.svn.wordpress.org/trunk@17981 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ae2bf93559
commit
c81d44279d
@ -344,8 +344,7 @@ wpList = {
|
||||
else
|
||||
list.append(e);
|
||||
|
||||
} else if ( 0 === $('#' + s.element).size() ) {
|
||||
|
||||
} else if ( 'comment' != s.what || 0 === $('#' + s.element).length ) {
|
||||
if ( s.pos < 0 ) {
|
||||
list.prepend(e);
|
||||
} else {
|
||||
|
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'), '20110518' );
|
||||
$scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array('wp-ajax-response'), '20110521' );
|
||||
$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
Block a user