From 13b0828a4a727058e9e68823b171621d2c6d82de Mon Sep 17 00:00:00 2001 From: LouisGac Date: Tue, 17 Jan 2017 12:57:56 +0100 Subject: [PATCH] Dev: added some comments --- application/helpers/SurveyRuntimeHelper.php | 2 +- templates/default/views/navigator.twig | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/application/helpers/SurveyRuntimeHelper.php b/application/helpers/SurveyRuntimeHelper.php index 6327c30dcb8..cc2f25e61d8 100644 --- a/application/helpers/SurveyRuntimeHelper.php +++ b/application/helpers/SurveyRuntimeHelper.php @@ -621,7 +621,7 @@ public function run($surveyid,$args) } } - // For clear all + // For "clear all" buttons App()->getClientScript()->registerScript("activateConfirmLanguage","$.extend(LSvar.lang,".ls_json_encode(array('yes'=>gT("Yes"),'no'=>gT("No"))).")",CClientScript::POS_BEGIN); App()->getClientScript()->registerScript("activateActionLink","activateActionLink();\n",CClientScript::POS_END); App()->getClientScript()->registerScript("activateConfirmButton","activateConfirmButton();\n",CClientScript::POS_END); diff --git a/templates/default/views/navigator.twig b/templates/default/views/navigator.twig index 8760e7f3a1d..3c795628002 100644 --- a/templates/default/views/navigator.twig +++ b/templates/default/views/navigator.twig @@ -3,6 +3,7 @@