database.js : clean data content before submiting

operation on the form can create some artefact we need to remove before submit
14 jobs for feature-c/3972-supprimer-une-ligne-intermedaire-du-multiupload-provoque-une-erreur in 12 minutes and 57 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test Tools
passed #691837
test_tools

00:00:09

 
  Test Quality
passed #691838
web
code_quality

00:00:09

 
  Test Unit
passed #691839
web
test_browser_unit

00:00:22

 
  Deploy Review
passed #691840
web
deploy_review

00:00:07

passed #691841
web manual
stop_deploy_review

00:00:04

 
  Test Functional
passed #691844
web
chrome-browser-functional

00:03:50

passed #691842
web
ff32-browser-functional

00:03:45

passed #691843
web
ff45-browser-functional

00:04:21

passed #691851
legacy
old-chrome-browser-functional

00:03:25

failed #691845
legacy
old-chrome-browser-functional

00:06:06

 
  Test Functional External
passed #691848
web
chrome-browser-functional-external

00:01:09

passed #691846
web
ff32-browser-functional-external

00:01:17

passed #691847
web
ff45-browser-functional-external

00:01:32

passed #691849
legacy
old-chrome-browser-functional-external-chrome

00:01:20