1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-13 13:17:54 +03:00

Merge remote-tracking branch 'origin/v3.0'

This commit is contained in:
Adolfo Gómez García 2021-02-17 15:35:36 +01:00
commit af52727862
2 changed files with 11 additions and 5 deletions

View File

@ -243,8 +243,8 @@ class HTML5RDPTransport(transports.Transport):
minValue=60,
tab=gui.ADVANCED_TAB,
)
forceNewWindow = gui.CheckBoxField(
label=_('Force new HTML Window'),
forceNewWindow = gui.ChoiceField(
order=91,
tooltip=_(
'If checked, every connection will try to open its own window instead of reusing the "global" one.'

View File

@ -114,10 +114,16 @@ class HTML5VNCTransport(transports.Transport):
minValue=60,
tab=gui.ADVANCED_TAB
)
forceNewWindow = gui.CheckBoxField(
label=_('Force new HTML Window'),
forceNewWindow = gui.ChoiceField(
order=91,
tooltip=_('If checked, every connection will try to open its own window instead of reusing the "global" one.'),
label=_('Force new HTML Window'),
tooltip=_('Select windows behavior for new connections on HTML5'),
required=True,
values=[
gui.choiceItem(gui.FALSE, _('Open every connection on the same window, but keeps UDS window.')),
gui.choiceItem(gui.TRUE, _('Force every connection to be opened on a new window.')),
gui.choiceItem('overwrite', _('Override UDS window and replace it with the connection.')),
],
defvalue=gui.FALSE,
tab=gui.ADVANCED_TAB
)