Changeset 6809
- Timestamp:
- 02/21/2013 12:53:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r6790 r6809 17 17 <script type="text/javascript"> 18 18 jQuery( document ).ready( function() { 19 jQuery( 'body' ).click( function(e) { 20 if ( 'a' == e.target.nodeName.toLowerCase() && jQuery(e.target).hasClass( 'confirm' ) ) { 21 if ( confirm( '<?php _e( 'Are you sure?', 'buddypress' ) ?>' ) ) 22 return true; else return false; 23 } else { 24 return true; 25 } 19 jQuery( 'a.confirm').click( function() { 20 if ( confirm( '<?php _e( 'Are you sure?', 'buddypress' ) ?>' ) ) 21 return true; else return false; 26 22 }); 27 23 });
Note: See TracChangeset
for help on using the changeset viewer.