mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #3748: Fix spice dialog
This commit is contained in:
1 parent
26d1dd1e4e
commit
5abe9e6020
4 files changed
+4
-4
No files matched your search
@@ -150,7 +150,7 @@ define(function(require) {
|
||||
Spice.lock();
|
||||
Sunstone.runAction("VM.startspice_action", vmId);
|
||||
} else {
|
||||
Notifier.notifyError(tr("SPICE Connection in progress"))
|
||||
Notifier.notifyError(Locale.tr("SPICE Connection in progress"))
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
@@ -62,7 +62,7 @@ define(function(require) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function _onClose(context) {
|
||||
function _onClose(context) {
|
||||
Spice.disconnect();
|
||||
Spice.unlock();
|
||||
return false;
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
<div id="spice-screen" class="spice-screen"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="message-div" class="spice-message"></div>
|
||||
<div id="message-div" class="spice-message" hidden></div>
|
||||
<a class="close-reveal-modal">×</a>
|
||||
</div>
|
||||
@@ -46,7 +46,7 @@ define(function(require) {
|
||||
function spiceCallback(response) {
|
||||
var host, port, password, scheme = "ws://", uri, token, vm_name;
|
||||
|
||||
if (Config.vncWSS) {
|
||||
if (Config.vncWSS == "yes") {
|
||||
scheme = "wss://";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user