Commit 8baaec8e authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Merge branch 'feature-FixAdministrativeCopy' into 'dev'

Corrige copia de activity, project y program

See merge request redmic-project/client/web!59
parents 2111eed4 d568beb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ define([

			var item = response.data;

			if (this.getOwnChannel().indexOf("/add/") > -1) {
			if (this.getOwnChannel().indexOf('add/') !== -1) {
				this._cleanNotDesiredProps(item);
			}

+3 −1
Original line number Diff line number Diff line
@@ -40,7 +40,9 @@ define([

			this.config = {
				target: redmicConfig.services.activity,
				propsToClean: ["code", "id"]
				propsToClean: [
					'code', 'id', 'contacts.{i}.id', 'organisations.{i}.id', 'documents.{i}.id', 'platforms.{i}.id'
				]
			};

			lang.mixin(this, this.config, args);
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ define([

			this.config = {
				target: redmicConfig.services.program,
				propsToClean: ["code", "id"]
				propsToClean: ['code', 'id', 'contacts.{i}.id', 'organisations.{i}.id', 'documents.{i}.id']
			};

			lang.mixin(this, this.config, args);
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ define([

			this.config = {
				target: redmicConfig.services.project,
				propsToClean: ["code", "id"]
				propsToClean: ['code', 'id', 'contacts.{i}.id', 'organisations.{i}.id', 'documents.{i}.id']
			};

			lang.mixin(this, this.config, args);