Fixed missing update for new DAL structure

Other values were updated in 5e5e649c28a4f3615f917cec3476f0c32e358777 but this was missing from that commit.
Merge pull request #536 from henrynguyen7/patch-1

Fixed missing update for new DAL structure
update dependencies only if COMPLETED, allow to set status on a specific worker
Merge pull request #538 from niphlod/enhancement/scheduler

update dependencies only if COMPLETED, allow to set status on a specific...
streamline behaviour of component (trapped) forms with multiple submit buttons

this is because jquery can't know what button was pressed when the 
submit event is triggered. We circumvent it adding an hidden field before
triggering the submission

BTW: don't know why the commit seems huge. I just changed a bit the trap_form
function to handle the corner case and streamlined what disableElement, 
enableElement, disableFormElements, enableFormElements do, 
along with formInputClickSelector
Merge pull request #540 from niphlod/enhancement/js_norm_buttonname

streamline behaviour of component (trapped) forms with multiple submit buttons