//]]>
</script>
{/if}
-<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.min.js?v={@$__wcfVersion}"></script>
-<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
+<script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
<script data-relocate="true" src="{@$__wcf->getPath()}js/WCF{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
<script data-relocate="true">
//<![CDATA[
// simply continue :) - Alex
var $__log = $.timepicker.log;
$.timepicker.log = function(error) {
- if (error.indexOf('Error parsing the date/time string: Unexpected literal at position') == -1) {
+ if (error.indexOf('Error parsing the date/time string: Unexpected literal at position') == -1 && error.indexOf('Error parsing the date/time string: Unknown name at position') == -1) {
$__log(error);
}
};
// L Whether it's a leap year
var $replacementTable = {
// time
- 'a': ' tt',
- 'A': ' TT',
+ 'a': 'tt',
+ 'A': 'TT',
'g': 'h',
'G': 'H',
'h': 'hh',
return part1 + part2;
});
+
+ console.debug(this._dateFormat + " " + this._timeFormat);
},
/**
// format default date
if ($inputValue) {
- $input.datepicker('setDate', new Date($inputValue));
+ $input.datepicker('setDate', new $inputValue);
}
// bug workaround: setDate creates the widget but unfortunately doesn't hide it...
// format default date
if ($inputValue) {
- $input.removeClass('hasDatepicker').datetimepicker('setDate', new Date($inputValue));
+ $input.removeClass('hasDatepicker').datetimepicker('setDate', $inputValue);
}
// bug workaround: setDate creates the widget but unfortunately doesn't hide it...