You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calendarWeeks is set to true the rendering of the first table row has an error: instead of showing the set variable for leftArrow it is showing the string of date-switch
As far as I can see this is a result of the prepending on lines 466 - 479:
fillDow: function () {
var dowCnt = this.weekStart,
html = '<tr>';
if (this.calendarWeeks) {
var cell = '<th class="cw"> </th>';
html += cell;
this.picker.find('.datepicker-days thead tr:first-child').prepend(cell);
}
while (dowCnt < this.weekStart + 7) {
html += '<th class="dow">' + dates[this.language].daysMin[(dowCnt++) % 7] + '</th>';
}
html += '</tr>';
this.picker.find('.datepicker-days thead').append(html);
},
To my best knowledge it seems that the code to inject the string into date-switch is using a positional argument instead of targeting date-switch according to lines 514 - 519:
To correct this error I changed the code to target date-switch, together with a modification on the conditional calendarWeeks to correct the colspan on date-switch.
If anyone is interested I can create a Pull Request.
The text was updated successfully, but these errors were encountered:
When calendarWeeks is set to true the rendering of the first table row has an error: instead of showing the set variable for
leftArrow
it is showing the string ofdate-switch
As far as I can see this is a result of the prepending on lines 466 - 479:
To my best knowledge it seems that the code to inject the string into
date-switch
is using a positional argument instead of targetingdate-switch
according to lines 514 - 519:To correct this error I changed the code to target
date-switch
, together with a modification on the conditionalcalendarWeeks
to correct the colspan ondate-switch
.If anyone is interested I can create a Pull Request.
The text was updated successfully, but these errors were encountered: