Fixed extension disabled when reset

This commit is contained in:
benweet 2013-08-04 18:47:32 +01:00
parent 04d78335c0
commit f0f02ca65a

View File

@ -102,7 +102,7 @@ define([
eventMgr["onLoadSettings"] = function() {
logger.log("onLoadSettings");
_.each(extensionList, function(extension) {
utils.setInputChecked("#input-enable-extension-" + extension.extensionId, extension.config.enabled === true);
utils.setInputChecked("#input-enable-extension-" + extension.extensionId, extension.enabled === true);
var onLoadSettingsListener = extension.onLoadSettings;
onLoadSettingsListener && onLoadSettingsListener();
});