Skip to content

Commit

Permalink
ecCalendarCreation.js: retrieve correctly user selected color
Browse files Browse the repository at this point in the history
On calendar creation, all calendar were created with the default blue.

Fix #19
  • Loading branch information
Trim committed Jun 23, 2017
1 parent e9376fe commit aed5e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/ecCalendarCreation.js
Expand Up @@ -182,7 +182,7 @@ exchCalendarCreation.prototype = {

calPrefs.setCharPref("name", this._document.getElementById("calendar-name").value);

newCal.setProperty("color", this._document.getElementById('calendar-color').color);
newCal.setProperty("color", this._document.getElementById('calendar-color').value);
if (!this._document.getElementById("fire-alarms").checked) {
newCal.setProperty("suppressAlarms", true);
}
Expand Down

0 comments on commit aed5e97

Please sign in to comment.