mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Admin notices go UNDER the H2
git-svn-id: https://develop.svn.wordpress.org/trunk@9569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -10,6 +10,11 @@ jQuery(document).ready( function() {
|
||||
if ( ( 'undefined' != typeof wpAjax ) && jQuery.isFunction( wpAjax.validateForm ) ) {
|
||||
jQuery('form.validate').submit( function() { return wpAjax.validateForm( jQuery(this) ); } );
|
||||
}
|
||||
|
||||
// Move .updated and .error alert boxes
|
||||
jQuery('div.wrap h2 ~ div.updated, div.wrap h2 ~ div.error').addClass('below-h2');
|
||||
jQuery('div.updated, div.error').not('.below-h2').insertAfter('div.wrap h2:first');
|
||||
|
||||
});
|
||||
|
||||
// stub for doing better warnings
|
||||
|
||||
Reference in New Issue
Block a user