Skip to:
Content

BuddyPress.org

Changeset 5362


Ignore:
Timestamp:
11/24/2011 04:09:51 AM (13 years ago)
Author:
boonebgorges
Message:

Swaps the title attribute on the Favorite/Remove Favorite button when clicked. Fixes #3618

Location:
trunk/bp-themes/bp-default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/global.js

    r5348 r5362  
    187187                target.fadeOut( 100, function() {
    188188                    jq(this).html(response);
     189                    jq(this).attr('title', 'fav' == type ? BP_DTheme.remove_fav : BP_DTheme.mark_as_fav);
    189190                    jq(this).fadeIn(100);
    190191                });
  • trunk/bp-themes/bp-default/functions.php

    r5264 r5362  
    154154        'comments'          => __( 'comments', 'buddypress' ),
    155155        'close'             => __( 'Close', 'buddypress' ),
    156         'view'              => __( 'View', 'buddypress' )
     156        'view'              => __( 'View', 'buddypress' ),
     157        'mark_as_fav'       => __( 'Favorite', 'buddypress' ),
     158        'remove_fav'        => __( 'Remove Favorite', 'buddypress' )
    157159    );
    158160
Note: See TracChangeset for help on using the changeset viewer.