1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 12:34:49 +02:00

Should fix part of the datepicker issue #133

This commit is contained in:
Cameron
2013-03-16 18:35:20 -07:00
parent 4f6b639ee9
commit 1830401b08
7 changed files with 371 additions and 1935 deletions

View File

@@ -158,17 +158,17 @@ $(document).ready(function()
// Dates --------------------------------------------------
/*
// http://tarruda.github.com/bootstrap-datetimepicker/
// $('.e-datetime').datetimepicker();
$('.e-datetime').datetimepicker({
language: 'en',
pick12HourFormat: true
});
*/
// https://github.com/smalot/bootstrap-datetimepicker
$("input.e-date").each(function() {
$(this).datepicker({
format: $(this).attr("data-date-format"),
weekStart: $(this).attr("data-date-firstday")
});
});
/*
$("input.e-date").each(function() {
$(this).datepicker({
dateFormat: $(this).attr("data-date-format"),
@@ -226,7 +226,7 @@ $(document).ready(function()
$(this).datetimepicker('setDate', $("#"+newid).val());
});
*/
// Tabs -----------------------------------------------------