Make port optional in ui.js as well
It is optional in the RFB object since 1a50f68, so we don't need it
at the UI layer either.
This commit is contained in:
parent
0f897520a2
commit
d593483ecc
|
|
@ -1048,8 +1048,8 @@ var UI = {
|
||||||
password = undefined;
|
password = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!host) || (!port)) {
|
if (!host) {
|
||||||
var msg = _("Must set host and port");
|
var msg = _("Must set host");
|
||||||
Log.Error(msg);
|
Log.Error(msg);
|
||||||
UI.showStatus(msg, 'error');
|
UI.showStatus(msg, 'error');
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue