Fixed string is not a function
authorMagnus Kühn <magnus.khn@gmail.com>
Sun, 29 Sep 2013 09:05:23 +0000 (11:05 +0200)
committerMagnus Kühn <magnus.khn@gmail.com>
Sun, 29 Sep 2013 09:05:31 +0000 (11:05 +0200)
wcfsetup/install/files/js/WCF.js

index 3001c76d2b9acb3987a59ded560c70cf8c3e906e..0d917d8fe831284282c5b7ad8f07d7596c0d5f06 100755 (executable)
@@ -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...