Skip to content
Snippets Groups Projects
Commit b0d16062 authored by parkera's avatar parkera
Browse files

SSDM-2160 ELN - remove dash from automatically generated codes

SVN: 34342
parent e96701ea
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ function ServerFacade(openbisServer) { ...@@ -263,7 +263,7 @@ function ServerFacade(openbisServer) {
this.generateCode = function(sampleType, action) { this.generateCode = function(sampleType, action) {
this.openbisServer.countNumberOfSamplesForType(sampleType.code, function(response) { this.openbisServer.countNumberOfSamplesForType(sampleType.code, function(response) {
if(response.result || response.result === 0) { if(response.result || response.result === 0) {
action(sampleType.codePrefix + "_" + (parseInt(response.result) + 1)); action(sampleType.codePrefix + (parseInt(response.result) + 1));
} }
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment