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

Recupera vista de TrashCollection

parent 53d61a58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ define([
			});
		},

		_doEvtFacade: function() {
		_setOwnCallbacksForEvents: function() {

			this._onEvt('SHOW', lang.hitch(this, this._onShown));
		},
+22 −17
Original line number Diff line number Diff line
@@ -3,7 +3,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"
@@ -29,7 +29,7 @@ define([
	, Controller
	, Layout
	, redmicConfig
	, BorderContainer
	, LayoutContainer
	, ContentPane
	, TabContainer
	, declare
@@ -148,13 +148,23 @@ define([
		_setOwnCallbacksForEvents: function() {

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

		postCreate: function() {

			this.textSearchNode = new ContentPane({
				'class': "topZone",
				region: "top"
			});

			this._publish(this.textSearch.getChannel("SHOW"), {
				node: this.textSearchNode.domNode
			});

			this.inherited(arguments);

			var browserAndSearchContainer = new BorderContainer({
			var browserAndSearchContainer = new LayoutContainer({
				title: this.i18n.list,
				'class': "marginedContainer noScrolledContainer"
			});
@@ -168,28 +178,18 @@ define([
				node: this.gridNode.domNode
			});

			this.textSearchNode = new ContentPane({
				'class': "topZone",
				region: "top"
			});

			this._publish(this.textSearch.getChannel("SHOW"), {
				node: this.textSearchNode.domNode
			});

			browserAndSearchContainer.addChild(this.textSearchNode);
			browserAndSearchContainer.addChild(this.gridNode);

			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"
				region: "center",
				'class': "mediumTexturedContainer sideTabContainer"
			});
			this.tabs.addChild(browserAndSearchContainer);
			this.tabs.addChild(this._createAtlas());

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

		_subChangedModelFilter: function(obj) {
@@ -302,6 +302,11 @@ define([
			return cp;
		},

		_onShown: function() {

			this.tabs.resize();
		},

		_onHide: function() {

			this._publish(this.trashDetails.getChannel("HIDE"));
Compare 58e0da9d to b8cfd8d1
Original line number Diff line number Diff line
Subproject commit 58e0da9d39274f9d27071739d0df0c6b8bf02ec8
Subproject commit b8cfd8d1eef66d18788cecf04e7d3cbc52722101