mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Инициализация поля с authOptions. (#235)
This commit is contained in:
parent
57e334efc8
commit
8ba8d27241
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue