Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #25473 from KevinGrandon/bug_1088408_calendar_sett…
Browse files Browse the repository at this point in the history
…ings_tray_account_error

Bug 1088408 - [Calendar] Allow opening settings tray when account is in error state
  • Loading branch information
KevinGrandon committed Oct 24, 2014
2 parents bbde027 + 7f516b0 commit 649d0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/calendar/js/views/settings.js
Expand Up @@ -253,7 +253,7 @@ Settings.prototype = {

if (object.error) {
console.error('Views.Settings error:', object.error);
var idx = this.calendars.children.length;
var idx = this.calendars.children.length - 1;
var el = this.calendars.children[idx];
el.classList.add('error');
}
Expand Down

0 comments on commit 649d0ac

Please sign in to comment.