mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
spice-html5 updated.
This commit is contained in:
parent
12c80c5021
commit
b05a252d7c
36 changed files with 1356 additions and 1415 deletions
|
|
@ -31,6 +31,9 @@
|
|||
<script src="{% static "js/spice-html5/resize.js" %}"></script>
|
||||
<script src="{% static "js/spice-html5/filexfer.js" %}"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{% static "js/spice-html5/spice.css" %}" />
|
||||
<script src="{% static "js/spice-html5/port.js" %}"></script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
@ -61,7 +64,7 @@
|
|||
{
|
||||
console.log(e);
|
||||
disconnect();
|
||||
if (e.message != undefined) {
|
||||
if (e.message !== undefined) {
|
||||
log_error(e.message);
|
||||
}
|
||||
else {
|
||||
|
|
@ -73,6 +76,7 @@
|
|||
log_info(msg);
|
||||
}
|
||||
|
||||
|
||||
function connect(uri,password)
|
||||
{
|
||||
// If a token variable is passed in, set the parameter in a cookie.
|
||||
|
|
@ -90,6 +94,7 @@
|
|||
{
|
||||
sc = new SpiceMainConn({uri: uri, password: password, screen_id: "spice_container",
|
||||
onsuccess: spice_success, onerror: spice_error, onagent: agent_connected });
|
||||
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue