[Kimchi-devel] [PATCH] bug fix: Allow user to get guest console (noVNC and spice)
Aline Manera
alinefm at linux.vnet.ibm.com
Mon Oct 19 16:39:40 UTC 2015
While trying to access the guest console a Jquery error was displayed:
TypeError: $.base64 is undefined
return $.base64.btoa(str, true).replace(/\+/g, '-').replace(/\//g, '_');
It is because the base64/jquery.base64.js was conflicting with the new Jquery
version.
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
ui/pages/wok-ui.html.tmpl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ui/pages/wok-ui.html.tmpl b/ui/pages/wok-ui.html.tmpl
index 669ae29..f2a09f5 100644
--- a/ui/pages/wok-ui.html.tmpl
+++ b/ui/pages/wok-ui.html.tmpl
@@ -53,10 +53,11 @@
<link rel="stylesheet" href="$href('libs/jquery-ui/themes/base/jquery-ui.min.css')">
<link rel="stylesheet" href="$href('css/jquery-ui.custom.css')">
<link rel="stylesheet" href="$href('css/theme-default.min.css')">
-<script src="$href('base64/jquery.base64.js')"></script>
+
<script src="$href('libs/jquery/jquery.min.js')"></script>
<script src="$href('libs/jquery-ui/jquery-ui.min.js')"></script>
<script src="$href('libs/jquery-ui/jquery-ui-i18n.min.js')"></script>
+<script src="$href('base64/jquery.base64.js')"></script>
<script src="$href('js/wok.min.js')"></script>
<!-- This is used for detecting if the UI needs to be built -->
--
2.1.0
More information about the Kimchi-devel
mailing list