diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 12a0de3d9c..c51ab8fb49 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -1306,6 +1306,15 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr }, }); + // Whitelist table elements to ensure popover displays all the info + $.fn.popover.Constructor.DEFAULTS.whiteList.table = []; + $.fn.popover.Constructor.DEFAULTS.whiteList.tr = []; + $.fn.popover.Constructor.DEFAULTS.whiteList.td = []; + $.fn.popover.Constructor.DEFAULTS.whiteList.div = []; + $.fn.popover.Constructor.DEFAULTS.whiteList.tbody = []; + $.fn.popover.Constructor.DEFAULTS.whiteList.thead = []; + // https://getbootstrap.com/docs/3.4/javascript/#popovers + $('#show-shortcuts').popover({ html: true, placement: 'bottom',