mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added configuration directive for Auto advance: LIME_AUTO_ADVANCE
This commit is contained in:
@@ -104,6 +104,11 @@ if (!defined('SUPERVISOR_EXTENSION')) define('SUPERVISOR_EXTENSION',"0392517290"
|
||||
*/
|
||||
if (!defined('LIME_PATH')) define('LIME_PATH', 'include/limesurvey/');
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
if (!defined('LIME_AUTO_ADVANCE')) define('LIME_AUTO_ADVANCE', true);
|
||||
|
||||
/**
|
||||
* The path to queXS from the server root
|
||||
*/
|
||||
|
||||
@@ -955,12 +955,15 @@ define('SELECTED' , ' selected="selected"' , true);
|
||||
// ==================================================================
|
||||
// QUESTION METHODS =================================================
|
||||
|
||||
|
||||
//queXS addition
|
||||
function quexs_submit_on_click($do = true)
|
||||
function quexs_submit_on_click()
|
||||
{
|
||||
include_once(dirname(__FILE__) . '/quexs.php');
|
||||
|
||||
$r = "";
|
||||
|
||||
if ($do)
|
||||
if (LIME_AUTO_ADVANCE)
|
||||
{
|
||||
$r = "; document.limesurvey.move.value = '";
|
||||
if (isset($_SESSION['step']) && $_SESSION['step'] && ($_SESSION['step'] == $_SESSION['totalsteps']))
|
||||
|
||||
Reference in New Issue
Block a user