Simon Egersand
2017-02-10 d6f9b1397271ae0619b77c2782b82c57cf45ea06
Revert "Respect closeOnSelect property"

This reverts commit 433f260a5c85fc7b51260693a1d38bef4cb0e524.
1 files modified
5 ■■■■■ changed files
DateTime.js 5 ●●●●● patch | view | raw | blame | history
DateTime.js
@@ -161,13 +161,8 @@
            updatedState = this.getStateFromProps( nextProps );
        }
        // What is this for? Keeping for now, will remove later
        if ( updatedState.open === undefined ) {
            updatedState.open = this.state.open;
        }
        if ( this.props.closeOnSelect === false ) {
            updatedState.open = true;
        }
        if ( nextProps.viewMode !== this.props.viewMode ) {