Commit 6fd4e764 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige detalles de sintaxis

parent bfe36960
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -162,9 +162,10 @@ define([

		_listenAfterFirstShow: function() {

			this._once(this.getChannel('ADDED_TO_QUERY'), lang.hitch(this, function() {
			var addedToQueryChannel = this.getChannel('ADDED_TO_QUERY');
			this._once(addedToQueryChannel, lang.hitch(this, function() {

				this._once(this.getChannel('ADDED_TO_QUERY'), lang.hitch(this, function() {
				this._once(addedToQueryChannel, lang.hitch(this, function() {

					this._publish(this._getWidgetInstance('searchResults').getChannel('SET_PROPS'), {
						windowTitle: 'searchResults'
@@ -211,7 +212,7 @@ define([
			});
		},

		_toggleAdvancedSearch: function(searchDefinition) {
		_toggleAdvancedSearch: function() {

			if (!this._advancedSearchShown) {
				this._advancedSearchShown = true;
+0 −1
Original line number Diff line number Diff line
@@ -422,7 +422,6 @@ define([
			this._embedModule(this.chartContainer, inputKey);

			if (this._updateDataChart) {

				this._publish(this.chartContainer.getChannel("SET_PROPS"), {
					chartsData: this.seriesData
				});
+1 −3
Original line number Diff line number Diff line
@@ -631,7 +631,6 @@ define([
				this._clearLayer(layerInstance);
			} else {
				console.error("Nonexistent chart layer '%s' cannot be removed", layerId);
				return;
			}
		},

@@ -643,8 +642,7 @@ define([

		_unbindLayer: function(layerId) {

			var layerInstance = this._layers[layerId],
				subscriptionsForLayer = this._subscriptionsForLayers[layerId],
			var subscriptionsForLayer = this._subscriptionsForLayers[layerId],
				publicationsForLayer = this._publicationsForLayers[layerId];

			if (subscriptionsForLayer) {