[Kimchi-devel] [PATCH] bug fix: Allow user to get guest console (noVNC and spice)

Ramon Medeiros ramon.rnm at gmail.com
Mon Oct 19 17:05:21 UTC 2015


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

On Mon, Oct 19, 2015 at 2:39 PM, Aline Manera <alinefm at 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 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
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>



-- 
Ramon Nunes Medeiros

GitHub: https://github.com/ramonmedeiros
Linkedin: http://www.linkedin.com/pub/ramon-medeiros/22/8aa/245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20151019/5c49535e/attachment.html>


More information about the Kimchi-devel mailing list