mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the updated Limesurvey 1.92+ branch of queXS to trunk
This commit is contained in:
@@ -1,47 +1,47 @@
|
||||
/*
|
||||
* LimeSurvey
|
||||
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
|
||||
* All rights reserved.
|
||||
* License: GNU/GPL License v2 or later, see LICENSE.php
|
||||
* LimeSurvey is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses.
|
||||
* See COPYRIGHT.php for copyright notices and details.
|
||||
*
|
||||
*
|
||||
* Description: Javascript file for templates. Put JS-functions for your template here.
|
||||
*
|
||||
*
|
||||
* $Id:$
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* The function focusFirst puts the Focus on the first non-hidden element in the Survey.
|
||||
*
|
||||
* Normally this is the first input field (the first answer).
|
||||
*/
|
||||
function focusFirst(Event)
|
||||
{
|
||||
$('#limesurvey :input:visible:enabled:first').focus();
|
||||
}
|
||||
/*
|
||||
* The focusFirst function is added to the eventlistener, when the page is loaded.
|
||||
*
|
||||
* This can be used to start other functions on pageload as well. Just put it inside the 'ready' function block
|
||||
*/
|
||||
|
||||
/* Uncomment below if you want to use the focusFirst function */
|
||||
/*
|
||||
$(document).ready(function(){
|
||||
focusFirst();
|
||||
});
|
||||
*/
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* LimeSurvey
|
||||
* Copyright (C) 2007 The LimeSurvey Project Team / Carsten Schmitz
|
||||
* All rights reserved.
|
||||
* License: GNU/GPL License v2 or later, see LICENSE.php
|
||||
* LimeSurvey is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses.
|
||||
* See COPYRIGHT.php for copyright notices and details.
|
||||
*
|
||||
*
|
||||
* Description: Javascript file for templates. Put JS-functions for your template here.
|
||||
*
|
||||
*
|
||||
* $Id:$
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* The function focusFirst puts the Focus on the first non-hidden element in the Survey.
|
||||
*
|
||||
* Normally this is the first input field (the first answer).
|
||||
*/
|
||||
function focusFirst(Event)
|
||||
{
|
||||
$('#limesurvey :input:visible:enabled:first').focus();
|
||||
}
|
||||
/*
|
||||
* The focusFirst function is added to the eventlistener, when the page is loaded.
|
||||
*
|
||||
* This can be used to start other functions on pageload as well. Just put it inside the 'ready' function block
|
||||
*/
|
||||
|
||||
/* Uncomment below if you want to use the focusFirst function */
|
||||
/*
|
||||
$(document).ready(function(){
|
||||
focusFirst();
|
||||
});
|
||||
*/
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user