From 716e74ceb4198bbb571ca2e26ba532efe47af174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Zrim=C5=A1ek?= Date: Mon, 19 Nov 2018 07:21:29 +0100 Subject: [PATCH] Fix DataTable display for protocol modal [SCI-2863] --- app/assets/javascripts/protocols/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/protocols/index.js b/app/assets/javascripts/protocols/index.js index d9f97c070..826817103 100644 --- a/app/assets/javascripts/protocols/index.js +++ b/app/assets/javascripts/protocols/index.js @@ -248,6 +248,7 @@ function initLinkedChildrenModal() { if (childrenTableEl) { // Only initialize table if it's present var childrenDatatable = childrenTableEl.DataTable({ + autoWidth: false, dom: "RBltpi", stateSave: false, buttons: [],