diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/update/FieldUpdateValue.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/update/FieldUpdateValue.js index d8dbb131524132195bf81af4a0a4bbb80edb1253..d7807166bcd10d5ca727f6b4f9ccf19617f509ae 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/update/FieldUpdateValue.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/update/FieldUpdateValue.js @@ -15,6 +15,9 @@ define([ "stjs" ], function(stjs) { * value for update */ prototype.setValue = function(value) { + if (this.value === value) { + return; + } this.value = value; this.isModified = true; }; diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/create/SampleCreation.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/create/SampleCreation.js index c3d7d83d63431ea46c4f245ac6b084cabb989f2a..e20bef57ecb5693f74167a48ba3dde1bca1ee97b 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/create/SampleCreation.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/create/SampleCreation.js @@ -19,6 +19,7 @@ define([ "stjs" ], function(stjs) { prototype.childIds = null; prototype.attachments = null; prototype.creationId = null; + prototype.autoGeneratedCode = null; prototype.getTypeId = function() { return this.typeId; };