From dcb699cb9c09259470d1b71e87abb601dec530db Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Thu, 1 Nov 2018 17:02:29 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20issue=20#11787:=20filtered=20question?= =?UTF-8?q?=20with=20multiple=20column=20Dev:=20function=20is=20here,=20bu?= =?UTF-8?q?t=20not=20called=20=E2=80=A6=20Dev:=20since=20user=20can=20exte?= =?UTF-8?q?nd=20vaniall=20and=20remove=20template-core=20js,=20test=20if?= =?UTF-8?q?=20exist=20before?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/survey/vanilla/scripts/theme.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/survey/vanilla/scripts/theme.js b/themes/survey/vanilla/scripts/theme.js index 01424b1f710..89dcba5c3f2 100644 --- a/themes/survey/vanilla/scripts/theme.js +++ b/themes/survey/vanilla/scripts/theme.js @@ -275,7 +275,12 @@ var ThemeScripts = function(){ var initGlobal = function(){ sliderSuffixClone(); fixBodyPadding(); - window.templateCore.hideQuestionWithRelevanceSubQuestion(); + if(jQuery.isFunction(window.templateCore.hideQuestionWithRelevanceSubQuestion)) { + window.templateCore.hideQuestionWithRelevanceSubQuestion(); + } + if(jQuery.isFunction(window.templateCore.hideMultipleColumn)) { + window.templateCore.hideMultipleColumn(); + } hideEmptyPart(); };