Files
wordpress-develop/wp-admin/js/common.js
Ryan Boren df8228fa6c Attachment editing from mdawaffe. fixes #6181
git-svn-id: https://develop.svn.wordpress.org/trunk@7262 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 05:50:07 +00:00

13 lines
521 B
JavaScript

addLoadEvent( function() {
// pulse
jQuery('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300);
// Reveal
jQuery('.wp-no-js-hidden').removeClass( 'wp-no-js-hidden' );
// Basic form validation
if ( ( 'undefined' != typeof wpAjax ) && jQuery.isFunction( wpAjax.validateForm ) ) {
jQuery('form').submit( function() { return wpAjax.validateForm( jQuery(this) ); } );
}
});