Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/24/2015 02:48:42 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Administration: Hook into bp_admin_enqueue_scripts to ensure bp-confirm script is registered and available.

Fixes a bug where clicking "Delete" links for XProfile fields & groups would not prompt with "Are you sure?".

Fixes #6317.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-cssjs.php

    r9606 r9638  
    107107
    108108}
    109 add_action( 'bp_enqueue_scripts',    'bp_core_confirmation_js' );
    110 add_action( 'admin_enqueue_scripts', 'bp_core_confirmation_js' );
     109add_action( 'bp_enqueue_scripts',       'bp_core_confirmation_js' );
     110add_action( 'bp_admin_enqueue_scripts', 'bp_core_confirmation_js' );
    111111
    112112/**
Note: See TracChangeset for help on using the changeset viewer.