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

Recupera visualización de buscador de topónimos

parent d5df5583
Loading
Loading
Loading
Loading
+12 −15
Original line number Diff line number Diff line
define([
	"dijit/layout/ContentPane"
	'app/designs/base/_Layout'
	, "dojo/_base/declare"
	, "dojo/_base/lang"
	, "put-selector/put"
], function (
	ContentPane
	_Layout
	, declare
	, lang
	, put
){
	return declare(ContentPane, {
	return declare(_Layout, {
		//	summary:
		//		Layout para vistas que contienen un buscador de texto, por facets y un listado.

		constructor: function(args) {

			this.config = {};
			this.config = {
				layoutAdditionalClasses: 'layoutExternalTextSearchListDesign'
			};

			lang.mixin(this, this.config, args);
		},
@@ -24,26 +26,21 @@ define([

			this.inherited(arguments);

			this.topNode = put(this.containerNode, "div.topZone");
			this.topNode = put(this.domNode, "div.topZone");

			this._titleNode = put(this.topNode, "div.titleZone.col-xs-3.col-sm-3.col-md-5.col-lg-4.col-xl-3");
			this._titleNode = put(this.topNode, "div.titleZone");

			this._setTitle(this.title);

			var optionNode = put(this.topNode, "div.optionZone.col-xs-4.col-sm-4.col-md-3.col-lg-4.col-xl-4");
			var optionNode = put(this.topNode, "div.optionZone");

			this.buttonsNode = put(optionNode, "div.buttonsZone");

			this.textSearchNode = put(this.topNode, "div.textSearchZone.col-xs-5.col-sm-5.col-md-4.col-lg-4.col-xl-5");
			this.textSearchNode = put(this.topNode, "div.textSearchZone");

			this.centerNode = put(this.containerNode, "div.centerZone");
			this.centerNode = put(this.domNode, "div.centerZone");

			this.listNode = put(this.centerNode, "div.listZone");
		},

		// TODO esto arregla un fallo: Uncaught TypeError: this._startAtWatchHandles is not a function
		startup: function() {

		}
	});
});
+0 −5
Original line number Diff line number Diff line
@@ -399,11 +399,6 @@ define([
				level: "error",
				description: this.i18n.timeoutMessage
			});
		},

		_getNodeToShow: function() {

			return this.containerNode;
		}
	});
});
Compare 66da658e to d6b7458e
Original line number Diff line number Diff line
Subproject commit 66da658e0d5b3793b53b581463ffbbce489ac201
Subproject commit d6b7458efbd0d73dcf1dacc706b573e26434dc47