feature #3748: Fix spice dialog

This commit is contained in:
Daniel Molina committed 2015-06-26 17:45:59 +02:00
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">&#215;</a>
</div>
+1 -1
View File
@@ -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://";
}