mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-30 16:17:56 +02:00
Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e532ec658c
commit
3d76f61923
@ -134,7 +134,7 @@ var WPNavMenuHandler = function ($) {
|
|||||||
while( parent.menuItemDepth() != depth - 1 ) {
|
while( parent.menuItemDepth() != depth - 1 ) {
|
||||||
parent = parent.prev();
|
parent = parent.prev();
|
||||||
}
|
}
|
||||||
input.val( parent.find('.menu-item-data-object-id').val() );
|
input.val( parent.find('.menu-item-data-db-id').val() );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user