Plugin Directory

Changeset 1295332


Ignore:
Timestamp:
11/27/2015 12:06:26 AM (10 years ago)
Author:
megainfo
Message:

Prepare for release

Location:
buddypress-activity-privacy/trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • buddypress-activity-privacy/trunk/history.txt

    r1295328 r1295332  
    133133- Add scroll fix on older versions of BuddyPress (thanks to @r-a-y)
    134134
    135 Version 1.3.8-SNAPSHOT (Nov 27, 2015)
     135Version 1.3.8 (Nov 27, 2015)
    136136- Fix issue on privacy select option, click not work
  • buddypress-activity-privacy/trunk/includes/js/jquery.customSelect.js

    r1118269 r1295332  
    4343                setTimeout(function () {
    4444                    customSelectSpan.removeClass(getClass('Open'));
    45                     $(document).off('mouseup.customSelect');                  
     45                    $(document).off('mouseup.customSelect');                 
    4646                }, 60);
    4747            },
     
    5858                    dropdownIcon = $('<i class="fa fa-caret-down"></i>'),
    5959                    customSelectSpan = $('<span />');
    60                    ;
    61 
     60 
    6261                $select.after(customSelectSpan.append(customIconInnerSpan).append(customSelectInnerSpan).append(dropdownIcon));
    6362               
     
    7675                        changed($select,customSelectSpan);
    7776                        $select.css('width','');   
     77                       
     78                         // fix  click issue when #whats-new-options is hidden (since bp 2.4.0) outerWidth = 0
     79                        var whatsNewOptionsIsHidden = false;       
     80                        if($select.attr('id') == 'activity-privacy' && $("#whats-new-options").is(":hidden")){
     81                            $("#whats-new-options").css('display','block');
     82                            whatsNewOptionsIsHidden = true; 
     83                            console.log("whatsNewOptionsIsHidden true");
     84                       
     85                        }
    7886
    7987                        var selectBoxWidth = parseInt($select.outerWidth(), 10) -
    8088                                (parseInt(customSelectSpan.outerWidth(), 10) -
    8189                                    parseInt(customSelectSpan.width(), 10));
    82                        
     90
    8391                        // Set to inline-block before calculating outerHeight
    8492                        customSelectSpan.css({
     
    107115                            fontSize:             customSelectSpan.css('font-size')
    108116                        });
     117
     118                        // reset #what-news-options display
     119                        if(whatsNewOptionsIsHidden) {
     120                            $("#whats-new-options").css('display','none');
     121                        }
     122
    109123                    })
    110124                    .on('change.customSelect', function () {
  • buddypress-activity-privacy/trunk/loader.php

    r1295328 r1295332  
    44Plugin URI:
    55Description: Add the ability for members to choose who can read/see his activities and media files.
    6 Version: 1.3.8-SNAPSHOT
     6Version: 1.3.8
    77Requires at least:  WP 3.4, BuddyPress 1.5
    88Tested up to: BuddyPress 1.5, 2.2.1
     
    2727// Define a constant that will hold the current version number of the component
    2828// This can be useful if you need to run update scripts or do compatibility checks in the future
    29 define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.3.8-SNAPSHOT' );
     29define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.3.8' );
    3030
    3131// Define a constant that we can use to construct file paths throughout the component
  • buddypress-activity-privacy/trunk/readme.txt

    r1295328 r1295332  
    44Requires at least: WordPress 3.4, BuddyPress 1.5
    55Tested up to: WordPress 4.3.1 / BuddyPress 2.4.0
    6 Stable tag: 1.3.8-SNAPSHOT
     6Stable tag: 1.3.8
    77
    88
     
    8787== Changelog ==
    8888
    89 = 1.3.8-SNAPSHOT =
     89= 1.3.8 =
    9090- Fix issue on privacy select option, click not work.
    9191
Note: See TracChangeset for help on using the changeset viewer.