mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
@@ -20,7 +20,7 @@ const BokehChartWidget = basicFields.FieldChar.extend({
|
|||||||
script.setAttribute("type", "text/javascript");
|
script.setAttribute("type", "text/javascript");
|
||||||
if ("textContent" in script) script.textContent = val.script;
|
if ("textContent" in script) script.textContent = val.script;
|
||||||
else script.text = val.script;
|
else script.text = val.script;
|
||||||
$("head").append(script);
|
this.$el.append(script);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return this._super(...arguments);
|
return this._super(...arguments);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user