Prevent pre-populating date fields
Prevent pre-populating date fields

On the tree detail page, the actions edit->save->edit would cause any
date fields on the page to be populated with the current date. This was
caused by the fact that calling "getDate" on the date picker will always
return a value, even if the text box to which the date picker is
connected is empty.

Fixes #1581

maurizi/otm-core,RickMohr/otm-core,clever-crow-consulting/otm-core,recklessromeo/otm-core,recklessromeo/otm-core,maurizi/otm-core,clever-crow-consulting/otm-core,clever-crow-consulting/otm-core,RickMohr/otm-core,RickMohr/otm-core,maurizi/otm-core,recklessromeo/otm-core,RickMohr/otm-core,maurizi/otm-core,clever-crow-consulting/otm-core,recklessromeo/otm-core