From 0587c979282267e1307a70fb7032f779cc4f5abf Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Tue, 6 Dec 2016 19:09:25 +0100 Subject: [PATCH] Dev: fix broken js in template-core Dev: bad copy/paste --- application/core/packages/limesurvey/survey.js | 1 - application/core/packages/template-default/template-core.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/application/core/packages/limesurvey/survey.js b/application/core/packages/limesurvey/survey.js index 0173e139140..147bad4ef2c 100644 --- a/application/core/packages/limesurvey/survey.js +++ b/application/core/packages/limesurvey/survey.js @@ -142,7 +142,6 @@ function activateLanguageChanger(){ if(!$(this).closest('form').length){ /* we are not in a forum, can not submit directly */ if($('form#limesurvey').length==1){ - console.log('limesurvey'); /* The limesurvey form exist in document, move select and button inside and click */ $("form#limesurvey [name='lang']").remove();// Remove existing lang selector $("").attr('name','lang').val($(this).find('option:selected').val()).appendTo($('form#limesurvey')); diff --git a/application/core/packages/template-default/template-core.js b/application/core/packages/template-default/template-core.js index 4d642b258db..fed1f089603 100644 --- a/application/core/packages/template-default/template-core.js +++ b/application/core/packages/template-default/template-core.js @@ -6,10 +6,9 @@ /* document ready function */ $(function() { -{ addHoverColumn(); triggerEmClassChangeTemplate(); -} +}); /** * Dialog and confirm