[FIX] Инициализация поля с authOptions. (#235)

This commit is contained in:
Zaxar163 2019-04-28 13:48:45 +02:00 committed by Gravit
parent 57e334efc8
commit 8ba8d27241

View file

@ -59,6 +59,8 @@ function initLoginScene() {
savePasswordBox = pane.lookup("#rememberchb"); savePasswordBox = pane.lookup("#rememberchb");
savePasswordBox.setSelected(settings.login === null || settings.rsaPassword !== null); savePasswordBox.setSelected(settings.login === null || settings.rsaPassword !== null);
authOptions = pane.lookup("#authOptions");
var link = pane.lookup("#link"); var link = pane.lookup("#link");
link.setText(config.linkText); link.setText(config.linkText);
link.setOnAction(function(event) app.getHostServices().showDocument(config.linkURL.toURI())); link.setOnAction(function(event) app.getHostServices().showDocument(config.linkURL.toURI()));
@ -466,4 +468,4 @@ launcher.loadScript("dialog/overlay/update/update.js");
/* ======== Scenes scripts ======== */ /* ======== Scenes scripts ======== */
launcher.loadScript("dialog/scenes/options/options.js"); launcher.loadScript("dialog/scenes/options/options.js");
launcher.loadScript("dialog/scenes/console/console.js"); launcher.loadScript("dialog/scenes/console/console.js");