Add classes to label grid tables

This commit is contained in:
Ben Murden 2011-07-01 01:17:42 -07:00
parent ae64213f33
commit 17c18ac6c2

View file

@ -289,7 +289,7 @@ $.extend(Timepicker.prototype, {
if (o.showHour && o.hourGrid > 0) {
html += '<dd class="ui_tpicker_hour">' +
'<div id="ui_tpicker_hour_' + dp_id + '"' + ((o.showHour) ? '' : noDisplay) + '></div>' +
'<div style="padding-left: 1px"><table><tr>';
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
for (var h = o.hourMin; h <= hourMax; h += o.hourGrid) {
hourGridSize++;
@ -315,7 +315,7 @@ $.extend(Timepicker.prototype, {
html += '<dd class="ui_tpicker_minute ui_tpicker_minute_' + o.minuteGrid + '">' +
'<div id="ui_tpicker_minute_' + dp_id + '"' +
((o.showMinute) ? '' : noDisplay) + '></div>' +
'<div style="padding-left: 1px"><table><tr>';
'<div style="padding-left: 1px"><table class="ui-tpicker-grid-label"><tr>';
for (var m = o.minuteMin; m <= minMax; m += o.minuteGrid) {
minuteGridSize++;