From 206f0d09ae2430a5d64a212f0124789599cc1603 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20K=C3=BChn?= Date: Sun, 29 Sep 2013 11:05:23 +0200 Subject: [PATCH] Fixed string is not a function --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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... -- 2.20.1