From 916ed2572a32f56e43b56992d8c51fea8d2a306b Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Fri, 3 Feb 2017 16:42:38 +0100 Subject: [PATCH] Fix smart annotation is missing at editing column with smart annotation [SCI-997] --- app/assets/javascripts/samples/sample_datatable.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/samples/sample_datatable.js.erb b/app/assets/javascripts/samples/sample_datatable.js.erb index 57d5b2a41..be02b5c44 100644 --- a/app/assets/javascripts/samples/sample_datatable.js.erb +++ b/app/assets/javascripts/samples/sample_datatable.js.erb @@ -492,6 +492,7 @@ function onClickEdit() { }); // initialize smart annotation + SmartAnnotation.init($('[data-object="sample_custom_fields"]')); _.each($('[data-object="custom_fields"]'), function(el) { if(_.isUndefined($(el).data('atwho'))) { SmartAnnotation.init(el);