Commit 71a010fc authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Refactoriza y renombra getNodeToShow como público

A partir de ahora, se considera al método 'getNodeToShow' de los
componentes que extienden de '_Show' como público (sin '_' como prefijo
del nombre). Esto se debe a que se han dado múltiples casos de necesidad
de obtenerlo, y no supone un problema permitirlo.

Refactoriza vista unificada de administración de dominios.
parent 7cba87b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ define([
			}
		},

		_getNodeToShow: function() {
		getNodeToShow: function() {

			return this.domNode;
		}
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ define([
			this._addTabs(this.addTabChannel);
		},

		_getNodeToShow: function() {
		getNodeToShow: function() {

			return this._atlasContainer;
		},
+1 −1
Original line number Diff line number Diff line
@@ -411,7 +411,7 @@ define([

		_getNodeToShowWrapper: function() {

			var nodeToShow = this._moduleOwnNode || this._getNodeToShow() || this.domNode;
			var nodeToShow = this._moduleOwnNode || this.getNodeToShow() || this.domNode;

			if (!nodeToShow) {
				console.error('Node to show not found at module "%s"', this.getChannel());
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ define([
		_getMethodsToImplement: function() {

			return lang.mixin(this.inherited(arguments), {
				"_getNodeToShow": {},
				"getNodeToShow": {},
				"_getNodeToShowLoading": {},
				"_beforeShow": {},
				"_afterShow": {},
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ define([
			this.template = template;
		},

		_getNodeToShow: function() {
		getNodeToShow: function() {

			return this.domNode;
		},
Loading