From: Magnus Kühn Date: Sun, 29 Sep 2013 09:05:23 +0000 (+0200) Subject: Fixed string is not a function X-Git-Tag: 2.0.0_Beta_10~13^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=206f0d09ae2430a5d64a212f0124789599cc1603;p=GitHub%2FWoltLab%2FWCF.git Fixed string is not a function --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3001c76d2b..0d917d8fe8 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2786,7 +2786,7 @@ WCF.Date.Picker = { // format default date if ($inputValue) { - $input.datepicker('setDate', new $inputValue); + $input.datepicker('setDate', $inputValue); } // bug workaround: setDate creates the widget but unfortunately doesn't hide it...