Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.

git-svn-id: http://core.svn.wordpress.org/trunk@21781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2012-09-07 15:49:20 +00:00
parent a282823b17
commit aa543734b8
3 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ wpList = {
if ( !s )
return false;
if ( !e.is('[id="' + s.what + '-add-submit"]') )
if ( !e.is('[id="' + s.element + '-submit"]') )
return !wpList.add.call( list, e, s );
if ( !s.element )