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-xprofile/bp-xprofile-cssjs.php

    r9351 r9638  
    2828    }
    2929}
    30 add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_css' );
     30add_action( 'bp_admin_enqueue_scripts', 'xprofile_add_admin_css' );
    3131
    3232/**
     
    6565    }
    6666}
    67 add_action( 'admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
     67add_action( 'bp_admin_enqueue_scripts', 'xprofile_add_admin_js', 1 );
Note: See TracChangeset for help on using the changeset viewer.