The hideDescendants() method hides the calling module and all descendant modules.
Note: This module is not intended to be overridden.
hideDescendants( invisibilityMode )
|
invisibilityMode |
String |
Invisibility mode the current module should store. |
Undefined
onContextChange: function($super) {
$super();
this._selection = null;
this.hideDescendants(this.DRILLDOWN_VISIBILITY_KEY + "_" + this.moduleId);
this.renderedCount = -1;
var context = this.getContext();
if (this.haveResultParamsChanged()) {
var search = context.get("search");
if (search.job.isDone() (search.job.getEventAvailableCount() > 0)) {
this._pageComplete = false; this.getResults();
}
}
else if (context.has("results.dataOverlayMode")){
this.onResultsRendered();
}
},