summaryrefslogtreecommitdiff
path: root/ext/js/pages/permissions-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/permissions-main.js')
-rw-r--r--ext/js/pages/permissions-main.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/js/pages/permissions-main.js b/ext/js/pages/permissions-main.js
index 3cf531a6..d36859ec 100644
--- a/ext/js/pages/permissions-main.js
+++ b/ext/js/pages/permissions-main.js
@@ -17,6 +17,8 @@
/* global
* DocumentFocusController
+ * ModalController
+ * PermissionsOriginController
* PermissionsToggleController
* PersistentStorageController
* SettingsController
@@ -95,12 +97,18 @@ function setupPermissionsToggles() {
permissionsCheckboxes[i].checked = permissions[i];
}
+ const modalController = new ModalController();
+ modalController.prepare();
+
const settingsController = new SettingsController(0);
settingsController.prepare();
const permissionsToggleController = new PermissionsToggleController(settingsController);
permissionsToggleController.prepare();
+ const permissionsOriginController = new PermissionsOriginController(settingsController);
+ permissionsOriginController.prepare();
+
const persistentStorageController = new PersistentStorageController();
persistentStorageController.prepare();
@@ -108,7 +116,7 @@ function setupPermissionsToggles() {
document.documentElement.dataset.loaded = 'true';
- const settingsDisplayController = new SettingsDisplayController(settingsController, null);
+ const settingsDisplayController = new SettingsDisplayController(settingsController, modalController);
settingsDisplayController.prepare();
} catch (e) {
log.error(e);