4 var tmpQWeb2 = window.QWeb2;
7 context: "oelivesupport",
8 baseUrl: {{url | json}},
10 jquery: "im_livechat/static/ext/static/lib/jquery/jquery",
11 underscore: "im_livechat/static/ext/static/lib/underscore/underscore",
12 qweb2: "im_livechat/static/ext/static/lib/qweb/qweb2",
13 openerp: "web/static/src/js/openerpframework",
14 "jquery.achtung": "im_livechat/static/ext/static/lib/jquery-achtung/src/ui.achtung",
15 livesupport: "im_livechat/static/ext/static/js/livesupport",
16 im_common: "im/static/src/js/im_common"
21 return _.noConflict();
26 var QWeb2 = window.QWeb2;
27 window.QWeb2 = tmpQWeb2;
35 })(["livesupport", "jquery"], function(livesupport, jQuery) {
37 console.log("loaded live support");
38 livesupport.main({{url | json}}, {{db | json}}, "public", "public", {{channel | json}}, {
39 buttonText: {{buttonText | json}},
40 inputPlaceholder: {{inputPlaceholder | json}},
41 defaultMessage: {{(defaultMessage or None) | json}},
42 auto: window.oe_im_livechat_auto || false,
43 userName: {{userName | json}} || undefined,