src/project/WorkingSetView.js
function _deactivateAllViews(deactivate) {
        _.forEach(_views, function (view) {
            if (deactivate) {
                if (view.$el.hasClass("active")) {
                    view.$el.removeClass("active").addClass("reactivate");
                    view.$openFilesList.trigger("selectionHide");
                }
            } else {
                if (view.$el.hasClass("reactivate")) {
                    view.$el.removeClass("reactivate").addClass("active");
                }
                // don't update the scroll pos
                view._fireSelectionChanged(false);
            }
        });
    }
function _deactivateAllViews(deactivate) {
        _.forEach(_views, function (view) {
            if (deactivate) {
                if (view.$el.hasClass("active")) {
                    view.$el.removeClass("active").addClass("reactivate");
                    view.$openFilesList.trigger("selectionHide");
                }
            } else {
                if (view.$el.hasClass("reactivate")) {
                    view.$el.removeClass("reactivate").addClass("active");
                }
                // don't update the scroll pos
                view._fireSelectionChanged(false);
            }
        });
    }
function _deactivateAllViews ( deactivate ) { _ . forEach ( _views , function ( view ) { if ( deactivate ) { if ( view . $el . hasClass ( "active" ) ) { view . $el . removeClass ( "active" ) . addClass ( "reactivate" ) ; view . $openFilesList . trigger ( "selectionHide" ) ; } } else { if ( view . $el . hasClass ( "reactivate" ) ) { view . $el . removeClass ( "reactivate" ) . addClass ( "active" ) ; } // don't update the scroll pos view . _fireSelectionChanged ( false ) ; } } ) ; }
Deactivates all views so the selection marker does not show
@private
@param {Boolean} deactivate - true to deactivate, false to reactivate
Deactivates all views so the selection marker does not show