Refactored to allow the datepicker to be re-initialized. This can be neccessary in dialogs, for example, which are cloned from existing DOM nodes, while the bindings are lost.
Refactored to allow the datepicker to be re-initialized. This can be neccessary in dialogs, for example, which are cloned from existing DOM nodes, while the bindings are lost.

PortgasDAce/otrs,s7design/otrs,nilei/otrs,capeit-tto/otrs,balazj/otrs,thorsteneckel/otrs,linearregression/otrs,eliasp/otrs,MBRG/otrs,noritnk/otrs,crythias/otrs,oiami/otrs,muehlbauer/otrs,MBRG/otrs,PortgasDAce/otrs,rudy500/otrs,StCyr/otrs,vlascoder/otrs,xhoy/otrs,moritz/otrs,s7design/otrs,PortgasDAce/otrs,MBRG/otrs,thorsteneckel/otrs,moritz/otrs,mbeijen/otrs-1,thorsteneckel/otrs,balazj/otrs,thorsteneckel/otrs,xhoy/otrs,capeit-tto/otrs,eliasp/otrs,s7design/otrs,StCyr/otrs,eliasp/otrs,nilei/otrs,muehlbauer/otrs,xhoy/otrs,mburggraf/otrs,xhoy/otrs,oiami/otrs,mburggraf/otrs,rudy500/otrs,oiami/otrs,capeit-tto/otrs,muehlbauer/otrs,MBRG/otrs,moritz/otrs,nilei/otrs,s7design/otrs,mbeijen/otrs-1,PortgasDAce/otrs,StCyr/otrs,vlascoder/otrs,PortgasDAce/otrs,rudy500/otrs,oiami/otrs,thorsteneckel/otrs,StCyr/otrs,moritz/otrs,balazj/otrs,nilei/otrs,mburggraf/otrs,StCyr/otrs,MBRG/otrs,crythias/otrs,brandonshults01/otrs,xhoy/otrs,mburggraf/otrs,oiami/otrs,nilei/otrs,s7design/otrs,vlascoder/otrs,rudy500/otrs,brandonshults01/otrs,eliasp/otrs,crythias/otrs,brandonshults01/otrs,muehlbauer/otrs,mbeijen/otrs-1,linearregression/otrs,balazj/otrs,mburggraf/otrs,linearregression/otrs,noritnk/otrs,linearregression/otrs,crythias/otrs,balazj/otrs,brandonshults01/otrs,eliasp/otrs,noritnk/otrs,brandonshults01/otrs,moritz/otrs,rudy500/otrs,crythias/otrs,linearregression/otrs,muehlbauer/otrs