Ticket #3047: 3047.patch
File 3047.patch, 666 bytes (added by , 14 years ago) |
---|
-
bp-core/bp-core-cssjs.php
62 62 63 63 if ( is_multisite() && $current_blog->blog_id != BP_ROOT_BLOG ) 64 64 return false; 65 if( !wp_script_is( 'jquery' ) ) 66 wp_enqueue_script('jquery'); 67 if( !wp_script_is( 'jquery', 'done' ) ) 68 wp_print_scripts('jquery'); 65 69 ?> 66 70 67 71 <script type="text/javascript"> jQuery(document).ready( function() { jQuery("a.confirm").click( function() { if ( confirm( '<?php _e( 'Are you sure?', 'buddypress' ) ?>' ) ) return true; else return false; }); });</script>