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

Mejora un poco la copia de estaciones en edición

Aún no está funcionalmente correcto, pero se puede improvisar una
solución temporal.

Actualiza estilos con detalles de edición.
parent 0542e529
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ define([

			this.config = {
				label: this.i18n.info,
				copy: SelectStationByActivity,

				ownChannel: "describeSite"
			};
@@ -146,7 +145,7 @@ define([
				}
			}, this.copyConfig || {}]);

			this.popupView = new declare([this.copy, _AddSelectionHandlerKeypad,
			this.popupView = new declare([SelectStationByActivity, _AddSelectionHandlerKeypad,
				_AdditionalKeyGetter]).extend(_ShowInPopup)(config);

			this._popupViewSubscription = this._setSubscription({
+3 −33
Original line number Diff line number Diff line
@@ -2,9 +2,6 @@ define([
	"app/designs/base/_Main"
	, "app/designs/mapWithSideContent/Controller"
	, "app/designs/mapWithSideContent/layout/MapAndContentAndTopbar"
	, "dijit/layout/LayoutContainer"
	, "dijit/layout/ContentPane"
	, "dijit/layout/StackContainer"
	, "dojo/_base/declare"
	, "dojo/_base/lang"
	, "redmic/modules/base/_Filter"
@@ -20,9 +17,6 @@ define([
	_Main
	, Controller
	, Layout
	, LayoutContainer
	, ContentPane
	, StackContainer
	, declare
	, lang
	, _Filter
@@ -35,6 +29,7 @@ define([
	, _Selectable
	, _SelectOnClick
) {

	return declare([Layout, Controller, _Main, _Filter], {
		//	summary:.
		//
@@ -149,41 +144,16 @@ define([

			this.inherited(arguments);

			this.gridNode = new ContentPane({
				'class': 'rightZone',
				region: "center"
			});

			this._publish(this.browser.getChannel("SHOW"), {
				node: this.gridNode.domNode
				node: this.contentNode
			});

			this.browserAndSearchContainer = new LayoutContainer({
				title: "<i class='fa fa-table'></i>",
				'class': "marginedContainer noScrolledContainer"
			});

			this.browserAndSearchContainer.addChild(this.gridNode);

			this.leftNode = new declare(StackContainer)({
				region: "left",
				'class': "hardSolidContainer sideStackContainer"
			});
			this.leftNode.addChild(this.browserAndSearchContainer);

			this.addChild(this.leftNode);

			this._publish(this.filteringInput.getChannel("SHOW"), {
				node: this.topbarNode
			});

			this._emitEvt('ADD_LAYER', {layer: this.geoJsonLayer});

			this._publish(this.map.getChannel("SET_CENTER_AND_ZOOM"), {
				center: [28.5, -16.0],
				zoom: 6
			});

			this.browserConfig.noDataMessage = this.browserCopyNoDataMessage;
		},

Compare 70dd8bab to a56b10a1
Original line number Diff line number Diff line
Subproject commit 70dd8babb890ae75efaac1f2044d3e30c0eb03e8
Subproject commit a56b10a15d2971d77b5ffa09ef158cf9cbeb80f7