Bug 562306: Changing state of "Update Automatically" for an add-on doesn't update database entry. r=dtownsend

This commit is contained in:
Blair McBride 2010-04-29 10:21:04 -07:00
parent 274ad77059
commit 561980b8b3

View File

@ -1002,6 +1002,12 @@ var gDetailView = {
this._notificationContainer = document.getElementById("detail-notification");
this._notificationText = document.getElementById("detail-notification-text");
var self = this;
var autoUpdate = document.getElementById("detail-autoUpdate");
autoUpdate.addEventListener("command", function() {
self._addon.applyBackgroundUpdates = autoUpdate.checked;
}, true);
},
show: function(aAddonId) {