From 330d1d5f3a21d9e79342802c0a9be5e399116a5a Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Thu, 23 Nov 2017 22:32:48 +0100 Subject: zelfoverhoor: Question numbering in edit form --- modules/zelfoverhoor/docent.js | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'modules/zelfoverhoor/docent.js') diff --git a/modules/zelfoverhoor/docent.js b/modules/zelfoverhoor/docent.js index 96ec38b..456ea2f 100644 --- a/modules/zelfoverhoor/docent.js +++ b/modules/zelfoverhoor/docent.js @@ -152,6 +152,14 @@ function closeQSetForm(){ currentlyEditing=null; } +function renumberQuestions(){ + var parent=document.getElementById("newquestions"); + var ch=parent.children,nc=ch.length; + for(var i=0;i