From 3bce493fb1c9e1847257a4a513e53fa6eb4299a2 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 23 Dec 2017 22:16:24 +0300 Subject: [PATCH] Update main.js Allow a reinitializing. For example, if we change an app language --- client/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/main.js b/client/main.js index 3b905a1..68ec7b5 100755 --- a/client/main.js +++ b/client/main.js @@ -347,6 +347,8 @@ Template.tabular.onRendered(function () { const userOptions = template.tabular.options.get(); const options = _.extend({}, ajaxOptions, userOptions); + //Allow a reinitializing. For example, if we change an app language + Session.get('Tabular.reinit'); //console.log('userOptions autorun', userOptions); // unless the user provides her own displayStart,