Commit a70a7c31 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Permite visualizar speciesDistribution de nuevo

Adapta la vista a la nueva situación, sin contenedores Dijit superiores.
parent 7a5f37d2
Loading
Loading
Loading
Loading
+17 −8
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ define([
	, "app/designs/mapWithSideContent/Controller"
	, "app/designs/mapWithSideContent/layout/MapAndContent"
	, "app/redmicConfig"
	, "dijit/layout/BorderContainer"
	, "dijit/layout/LayoutContainer"
	, "dijit/layout/ContentPane"
	, "dijit/layout/TabContainer"
	, "dojo/_base/declare"
@@ -51,7 +51,7 @@ define([
	, Controller
	, Layout
	, redmicConfig
	, BorderContainer
	, LayoutContainer
	, ContentPane
	, TabContainer
	, declare
@@ -424,11 +424,16 @@ define([
			});
		},

		_doEvtFacade: function() {

			this._onEvt('SHOW', lang.hitch(this, this._onShown));
		},

		postCreate: function() {

			this.inherited(arguments);

			var browserAndSearchContainer = new BorderContainer({
			var browserAndSearchContainer = new LayoutContainer({
				title: this.i18n.list,
				'class': "marginedContainer noScrolledContainer"
			});
@@ -476,21 +481,25 @@ define([

			this.tabs = new TabContainer({
				tabPosition: "top",
				splitter: true,
				region: "right",
				'class': "col-xs-6 col-sm-6 col-md-6 col-lg-5 col-xl-4 mediumTexturedContainer sideTabContainer borderRadiusTabContainer"
				region: "center",
				'class': "mediumTexturedContainer sideTabContainer borderRadiusTabContainer"
			});

			this.tabs.addChild(browserAndSearchContainer);
			this.tabs.addChild(this.treeNode);
			this.tabs.addChild(this._createFilterSidebarContent());
			this.tabs.addChild(this._createAtlas());

			this.contentNode.addChild(this.tabs);
			this.tabs.placeAt(this.contentNode);
			this.tabs.startup();

			this._emitEvt('REFRESH');
		},

		_onShown: function() {

			this.tabs.resize();
		},

		_onChangeSelection: function(response) {

			clearTimeout(this._updateDataLayerTimeoutHandler);