mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-22 18:51:48 +02:00
Fixes to webcode for Kasm CDI
This commit is contained in:
parent
a4369e8897
commit
2813e7fe09
@ -13,7 +13,11 @@ window.addEventListener("load", function() {
|
|||||||
document.head.appendChild(loader);
|
document.head.appendChild(loader);
|
||||||
});
|
});
|
||||||
window.addEventListener("load", function() {
|
window.addEventListener("load", function() {
|
||||||
document.getElementById("noVNC_connect_button").click();
|
var connect_btn_el = document.getElementById("noVNC_connect_button");
|
||||||
|
if (typeof(connect_btn_el) != 'undefined' && connect_btn_el != null)
|
||||||
|
{
|
||||||
|
connect_btn_el.click();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
import * as Log from '../core/util/logging.js';
|
import * as Log from '../core/util/logging.js';
|
||||||
|
@ -1076,9 +1076,7 @@ export default class RFB extends EventTargetMixin {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
if (!this._rfb_credentials.password) {
|
this._rfb_credentials.password = "";
|
||||||
this._rfb_credentials.password = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO(directxman12): make genDES not require an Array
|
// TODO(directxman12): make genDES not require an Array
|
||||||
const challenge = Array.prototype.slice.call(this._sock.rQshiftBytes(16));
|
const challenge = Array.prototype.slice.call(this._sock.rQshiftBytes(16));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user