diff --git a/calendar/base/content/dialogs/calendar-subscriptions-dialog.css b/calendar/base/content/dialogs/calendar-subscriptions-dialog.css index 958e97a5b8..619a9cf5d9 100644 --- a/calendar/base/content/dialogs/calendar-subscriptions-dialog.css +++ b/calendar/base/content/dialogs/calendar-subscriptions-dialog.css @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -calendar-subscriptions-richlistitem { - -moz-binding: url("chrome://calendar/content/calendar-subscriptions-list.xml#calendar-subscriptions-richlistitem"); +richlistitem[is="calendar-subscriptions-richlistitem"] { -moz-user-focus: normal; } diff --git a/calendar/base/content/dialogs/calendar-subscriptions-dialog.js b/calendar/base/content/dialogs/calendar-subscriptions-dialog.js index 81c54bf70a..986a62d1ed 100644 --- a/calendar/base/content/dialogs/calendar-subscriptions-dialog.js +++ b/calendar/base/content/dialogs/calendar-subscriptions-dialog.js @@ -103,7 +103,8 @@ function onSearch() { onResult: function(operation, result) { if (result) { for (let calendar of result) { - let newNode = document.createXULElement("calendar-subscriptions-richlistitem"); + let newNode = document.createXULElement("richlistitem", + { is: "calendar-subscriptions-richlistitem" }); newNode.calendar = calendar; newNode.subscribed = registeredCals[calendar.id]; richListBox.appendChild(newNode); diff --git a/calendar/base/content/dialogs/calendar-subscriptions-dialog.xul b/calendar/base/content/dialogs/calendar-subscriptions-dialog.xul index afb26b746a..5c45c88bbd 100644 --- a/calendar/base/content/dialogs/calendar-subscriptions-dialog.xul +++ b/calendar/base/content/dialogs/calendar-subscriptions-dialog.xul @@ -27,6 +27,7 @@