- Posts: 11
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$(document).on('click',"[data-copy] :submit",function(){ $("form :input[value='"+$(this).val()+"']").click(); }); $(document).ready(function(){ $("[data-copy]").each(function(){ $(this).html($("#"+$(this).data('copy')).html()); }); //[...]
/var/www/html$ find -name surveysettings.js ./limesurvey/limesurvey/scripts/admin/surveysettings.js ./limesurvey/scripts/admin/surveysettings.js
// $Id: surveysettings.js 9757 2011-02-09 20:52:33Z c_schmitz $ $(document).on('click',"[data-copy] :submit",function(){ $("form :input[value='"+$(this).val()+"']").click(); }); $(document).ready(function(){ $("[data-copy]").each(function(){ $(this).html($("#"+$(this).data('copy')).html()); });
$(document).ready(function(){ $("#template").change(templatechange); $("#template").keyup(templatechange); $("#copysurveyform").submit(copysurvey); $("#urlparams").jqGrid({ url:jsonUrl, datatype: "json", colNames:[sAction,'','',sParameter,'','',sTargetQuestion],