2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Make sure to only move forward on click where appropriate (allow false to be passed to stop auto click)

This commit is contained in:
azammitdcarf
2010-02-22 22:54:03 +00:00
parent 4c4e78b415
commit 90fd204e55

View File

@@ -957,13 +957,13 @@ define('SELECTED' , ' selected="selected"' , true);
//queXS addition
function quexs_submit_on_click()
function quexs_submit_on_click($do = true)
{
include_once(dirname(__FILE__) . '/quexs.php');
$r = "";
if (LIME_AUTO_ADVANCE)
if (LIME_AUTO_ADVANCE && $do)
{
$r = "; document.limesurvey.move.value = '";
if (isset($_SESSION['step']) && $_SESSION['step'] && ($_SESSION['step'] == $_SESSION['totalsteps']))