TT#127300 TT#120309 fix datatable broken by escapeHtml control opt

Change-Id: I55285e90dd288992c797cc3504829c94d740668f
mr10.0
Rene Krenn 4 years ago
parent af17d53b32
commit ba437ad42e

@ -123,7 +123,7 @@ $(document).ready(function() {
if(data == null)
data = '';
[% END %]
if (typeof opt !== 'object') {
if (opt == null || typeof opt !== 'object') {
opt = {};
}
opt.escapeHtml = true; // always escape HTML by default

Loading…
Cancel
Save