Revision 59904
Added by Stefania Martziou over 3 years ago
datasource-new-interface-form.component.ts | ||
---|---|---|
179 | 179 |
checkIfValid() { |
180 | 180 |
if (this.formIsValid()) { |
181 | 181 |
if (this.inRegister) { |
182 |
this.successMessage = 'The interface will be stored when the registration procedure is completed.'; |
|
182 |
// this.successMessage = 'The interface will be stored when the registration procedure is completed.'; |
|
183 |
this.successMessage = 'The harvesting settings are valid!'; |
|
183 | 184 |
this.saveInterface(); |
184 | 185 |
} |
185 | 186 |
} else { |
... | ... | |
262 | 263 |
if (!this.inRegister) { |
263 | 264 |
this.addInterface(currentInterface); |
264 | 265 |
} else { |
265 |
this.successMessage = 'The interface will be stored when the registration procedure is completed';
|
|
266 |
this.successMessage = 'The harvesting settings are valid!';
|
|
266 | 267 |
console.log('SAVED !'); |
267 | 268 |
this.interfaceToExport = currentInterface; |
268 | 269 |
} |
... | ... | |
311 | 312 |
if (!this.inRegister) { |
312 | 313 |
this.updateInterface(); |
313 | 314 |
} else { |
314 |
this.successMessage = 'The interface will be stored when the registration procedure is completed';
|
|
315 |
this.successMessage = 'The harvesting settings are valid!';
|
|
315 | 316 |
console.log('SAVED !'); |
316 | 317 |
this.interfaceToExport = this.currentInterface; |
317 | 318 |
} |
Also available in: Unified diff
Changes in the registration process as described in ticket #5750