Skip to:
Content

BuddyPress.org

Ticket #7556: 7556.patch

File 7556.patch, 477 bytes (added by yahil, 8 years ago)
  • src/bp-core/js/confirm.js

    diff --git a/src/bp-core/js/confirm.js b/src/bp-core/js/confirm.js
    index 902de34..6e22349 100644
    a b  
    22/* global BP_Confirm */
    33
    44jQuery( document ).ready( function() {
    5         jQuery( 'a.confirm').click( function() {
     5        jQuery( '#buddypress' ).on( 'click', 'a.confirm', function() {
    66                if ( confirm( BP_Confirm.are_you_sure ) ) {
    77                        return true;
    88                } else {
    99                        return false;
    1010                }
    11         });
    12 });
     11        } );
     12} );