Fix to unhappy path.
This commit is contained in:
parent
72f53da656
commit
cfe1a4c118
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user