Fix to unhappy path.

This commit is contained in:
Jimi 2022-05-29 23:00:43 -06:00 committed by Cody Robibero
parent 72f53da656
commit cfe1a4c118

View File

@ -232,8 +232,7 @@ function CreateSigninGroup(user = "")
json = initQuickConnect() json = initQuickConnect()
if json = invalid if json = invalid
group.findNode("alert").text = tr("Quick Connect not available.") group.findNode("alert").text = tr("Quick Connect not available.")
return "false" else
end if
' Server user is talking to is at least 10.8 and has quick connect enabled... ' Server user is talking to is at least 10.8 and has quick connect enabled...
m.quickConnectDialog = createObject("roSGNode", "QuickConnectDialog") m.quickConnectDialog = createObject("roSGNode", "QuickConnectDialog")
m.quickConnectDialog.quickConnectJson = json m.quickConnectDialog.quickConnectJson = json
@ -242,6 +241,7 @@ function CreateSigninGroup(user = "")
m.quickConnectDialog.buttons = [tr("Cancel")] m.quickConnectDialog.buttons = [tr("Cancel")]
m.quickConnectDialog.observeField("authenticated", port) m.quickConnectDialog.observeField("authenticated", port)
m.scene.dialog = m.quickConnectDialog m.scene.dialog = m.quickConnectDialog
end if
else if msg.getField() = "authenticated" else if msg.getField() = "authenticated"
' Quick connect authentication was successful... ' Quick connect authentication was successful...
return "true" return "true"