Calendar: Fix line indention

This commit is contained in:
Felix Nagel 2015-12-04 09:56:23 +01:00
parent 3cf5308917
commit e17e7b0d87

View File

@ -279,7 +279,7 @@ return $.widget( "ui.calendar", {
html += "<div class='ui-calendar-group'>"; html += "<div class='ui-calendar-group'>";
html += "<div class='" + headerClass + "'>" + html += "<div class='" + headerClass + "'>" +
this._buildTitlebar() + "</div>"; this._buildTitlebar() + "</div>";
html += this._buildGrid() + "</div>"; html += this._buildGrid() + "</div>";
} }
@ -294,15 +294,15 @@ return $.widget( "ui.calendar", {
_buildHeader: function() { _buildHeader: function() {
return "<div class='ui-calendar-header ui-widget-header ui-helper-clearfix ui-corner-all'>" + return "<div class='ui-calendar-header ui-widget-header ui-helper-clearfix ui-corner-all'>" +
this._buildTitlebar() + this._buildTitlebar() +
"</div>"; "</div>";
}, },
_buildHeaderButtons: function() { _buildHeaderButtons: function() {
return "<div class='ui-calendar-header-buttons'>" + return "<div class='ui-calendar-header-buttons'>" +
this._buildPreviousLink() + this._buildPreviousLink() +
this._buildNextLink() + this._buildNextLink() +
"</div>"; "</div>";
}, },
_buildPreviousLink: function() { _buildPreviousLink: function() {
@ -320,12 +320,12 @@ return $.widget( "ui.calendar", {
_buildTitlebar: function() { _buildTitlebar: function() {
return "<div role='header' id='" + this.gridId + "-title'>" + return "<div role='header' id='" + this.gridId + "-title'>" +
"<div id='" + this.gridId + "-month-label' class='ui-calendar-title'>" + "<div id='" + this.gridId + "-month-label' class='ui-calendar-title'>" +
this._buildTitle() + this._buildTitle() +
"</div>" + "</div>" +
"<span class='ui-helper-hidden-accessible'>, " + "<span class='ui-helper-hidden-accessible'>, " +
this._getTranslation( "datePickerRole" ) + this._getTranslation( "datePickerRole" ) +
"</span>" + "</span>" +
"</div>"; "</div>";
}, },
_buildTitle: function() { _buildTitle: function() {
@ -339,11 +339,11 @@ return $.widget( "ui.calendar", {
_buildGrid: function() { _buildGrid: function() {
return "<table class='ui-calendar-calendar' role='grid' aria-readonly='true' " + return "<table class='ui-calendar-calendar' role='grid' aria-readonly='true' " +
"aria-labelledby='" + this.gridId + "-month-label' tabindex='0' " + "aria-labelledby='" + this.gridId + "-month-label' tabindex='0' " +
"aria-activedescendant='" + this._getDayId( this.date ) + "'>" + "aria-activedescendant='" + this._getDayId( this.date ) + "'>" +
this._buildGridHeading() + this._buildGridHeading() +
this._buildGridBody() + this._buildGridBody() +
"</table>"; "</table>";
}, },
_buildGridHeading: function() { _buildGridHeading: function() {
@ -360,16 +360,16 @@ return $.widget( "ui.calendar", {
} }
return "<thead role='presentation'>" + return "<thead role='presentation'>" +
"<tr role='row'>" + cells + "</tr>" + "<tr role='row'>" + cells + "</tr>" +
"</thead>"; "</thead>";
}, },
_buildGridHeaderCell: function( day ) { _buildGridHeaderCell: function( day ) {
return "<th role='columnheader' abbr='" + day.fullname + "' aria-label='" + day.fullname + "'>" + return "<th role='columnheader' abbr='" + day.fullname + "' aria-label='" + day.fullname + "'>" +
"<span title='" + day.fullname + "'>" + "<span title='" + day.fullname + "'>" +
day.shortname + day.shortname +
"</span>" + "</span>" +
"</th>"; "</th>";
}, },
_buildGridBody: function() { _buildGridBody: function() {