From 655df9d166ffe8ca7945af01da4637fdd5bba09b Mon Sep 17 00:00:00 2001 From: Tony Partner Date: Fri, 12 Aug 2011 15:52:11 +0000 Subject: [PATCH] Fixed issue #05383: Keyboard-less operation doesn't work for all input fields Dev Enabled keyboard for all text inputs and textareas Dev Added keyup trigger to keyboard to fire conditions and other onkeyup functions git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10711 b72ed6b6-b9f8-46b5-92b4-906544132732 --- application/helpers/qanda_helper.php | 80 ++++++++++++++++++++++++---- scripts/survey_runtime.js | 48 ++++++++++------- 2 files changed, 101 insertions(+), 27 deletions(-) diff --git a/application/helpers/qanda_helper.php b/application/helpers/qanda_helper.php index 252d05dc43e..b7c0e2b3d1e 100644 --- a/application/helpers/qanda_helper.php +++ b/application/helpers/qanda_helper.php @@ -2682,11 +2682,21 @@ function do_list_radio($ia) // --------------------------------------------------------------- function do_listwithcomment($ia) { - global $maxoptionsize, $dropdownthreshold, $lwcdropdowns; + global $maxoptionsize, $dropdownthreshold, $lwcdropdowns, $thissurvey; $CI =& get_instance(); $dbprefix = $CI->db->dbprefix; $clang = $CI->limesurvey_lang; + if ($thissurvey['nokeyboard']=='Y') + { + vIncludeKeypad(); + $kpclass = "text-keypad"; + } + else + { + $kpclass = ""; + } + if ($ia[8] == 'Y') { $checkconditionFunction = "checkconditions"; @@ -2772,7 +2782,7 @@ function do_listwithcomment($ia)

-