Commit 0334e323 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Elimina basura y corrige target de vista de citas

parent a6476653
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -124,10 +124,6 @@ define([
				id: idProperty
			};

			if (this.typeRequest) {
				obj.type = this.typeRequest;
			}

			this._emitEvt('GET', obj);
		},

+1 −3
Original line number Diff line number Diff line
@@ -34,8 +34,6 @@ define([
				documentDetailsPath: redmicConfig.viewPaths.documentDetails,

				templateTarget: redmicConfig.services.citationByActivity,
				//TODO pendiente de eliminar get de la BBDD
				typeRequest: 'API',

				ownChannel: "citation"
			};
@@ -46,7 +44,7 @@ define([
				this._goTo404();
			}

			this.target = lang.replace(this.templateTarget, {id: this.pathVariableId});
			this.target = this.templateTarget.replace('{id}', this.pathVariableId);
		},

		_setConfigurations: function() {
+1 −4
Original line number Diff line number Diff line
@@ -23,10 +23,7 @@ define([
			this.config = {
				templateProps:  {
					templateString: template,
					i18n: this.i18n,
					_onClickGuest: this._onClickGuest,
					_onSignIn: this._onSignIn,
					_getAccessToken: this._getAccessToken
					i18n: this.i18n
				},
				ownChannel: "whatIsRedmic"
			};