Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/05/2013 01:16:53 AM (7 years ago)
Author:
boonebgorges
Message:

Add "Are you sure you want to leave this page?" js for unsaved changes on Group Admin

Fixes #4977

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-admin.php

    r7158 r7159  
    167167
    168168    wp_localize_script( 'bp_groups_admin_js', 'BP_Group_Admin', array(
    169         'add_member_placeholder' => __( 'Start typing a username to add a new member.', 'buddypress' )
     169        'add_member_placeholder' => __( 'Start typing a username to add a new member.', 'buddypress' ),
     170        'warn_on_leave'          => __( 'If you leave this page, you will lose any unsaved changes you have made to the group.', 'buddypress' ),
    170171    ) );
    171172
Note: See TracChangeset for help on using the changeset viewer.