Changeset 4018
- Timestamp:
- 02/04/2011 04:22:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r3777 r4018 63 63 if ( is_multisite() && $current_blog->blog_id != BP_ROOT_BLOG ) 64 64 return false; 65 ?> 65 66 if ( !wp_script_is( 'jquery' ) ) 67 wp_enqueue_script( 'jquery' ); 68 69 if ( !wp_script_is( 'jquery', 'done' ) ) 70 wp_print_scripts( 'jquery' ); ?> 66 71 67 72 <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>
Note: See TracChangeset
for help on using the changeset viewer.