From 34c2def1daffa397d78cb8bdb89f911709f9d0c0 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 19 Dec 2013 19:07:52 +0100 Subject: [PATCH] [FIX] webclient bootstrap constructor first parameter bzr revid: fme@openerp.com-20131219180752-wmjaalqhjt8dzs0i --- addons/web/views/webclient_bootstrap.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/views/webclient_bootstrap.html b/addons/web/views/webclient_bootstrap.html index 12efa3c98b7..097631d09ba 100644 --- a/addons/web/views/webclient_bootstrap.html +++ b/addons/web/views/webclient_bootstrap.html @@ -18,7 +18,7 @@ {% if init %} {{ init }} {% else %} - var wc = new s.web.WebClient({% if client_options %}{{ client_options | json | safe }}{% endif %}); + var wc = new s.web.WebClient({% if client_options %}null, {{ client_options | json | safe }}{% endif %}); wc.appendTo($(document.body)); {% endif %} });