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:
Mark Jaquith
2008-11-08 10:17:45 +00:00
parent 823767f59d
commit a865222300
3 changed files with 7 additions and 6 deletions
+5
View File
@@ -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