Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/04/2013 01:45:27 PM (12 years ago)
Author:
boonebgorges
Message:

Prompt user before leaving profile edit mode if changes have not been saved

See #4958

Props dcavins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress-functions.php

    r7116 r7151  
    259259            'view'              => __( 'View', 'buddypress' ),
    260260            'mark_as_fav'       => __( 'Favorite', 'buddypress' ),
    261             'remove_fav'        => __( 'Remove Favorite', 'buddypress' )
     261            'remove_fav'        => __( 'Remove Favorite', 'buddypress' ),
     262            'unsaved_changes'   => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
    262263        );
    263264        wp_localize_script( $handle, 'BP_DTheme', $params );
Note: See TracChangeset for help on using the changeset viewer.