$dateSelector is a paramters of formAddObjectLine, if use global it is
reset to 0 because not declare in outer context but already exists in
the same context.
Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.6
Fix Ajax combobox in Extrafeilds
Add Extrafield on contract
restore min jquery
Merge pull request #1711 from FHenry/3.6_contractextrafields

3.6 contractextrafields
New: Add event FICHINTER_CLASSIFY_BILLED into list of possible events to
create an automatic event into agenda.
Qual: Removed hard coded rowid into data init.
Use id of module + delta
Merge remote-tracking branch 'origin/3.6' into develop
Fix: form is not allowed inside a table
New: Add new type of event (when type of events are used, not by
default)