Reviewed-By: Ramon Medeiros <ramonn@br.ibm.com>

On Mon, Oct 19, 2015 at 2:39 PM, Aline Manera <alinefm@linux.vnet.ibm.com> wrote:
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@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

_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel



--
Ramon Nunes Medeiros