Skip to content

Commit

Permalink
Fixed issue #03927: Timer - survey breaks when moving to previous que…
Browse files Browse the repository at this point in the history
…stion, and previous question has expired timer with action 2

dev tested ok in current versions of safari, firefox, IE and chrome

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8006 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Nov 30, 2009
1 parent 9cc6839 commit e88b4c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qanda.php
Expand Up @@ -1163,7 +1163,11 @@ function countdown(questionid,timer,action,warning,warninghide,disable){
}
freezeFrame(disable);
eraseCookie(timersessionname);
document.limesurvey.submit();
if(document.getElementById('movenextbtn') != null) {
document.limesurvey.submit();
} else {
setTimeout(\"document.limesurvey.submit();\", 1000);
}
break;
case 3: //Just warn, don't move on
document.getElementById(expireddisplay).style.display='';
Expand Down

0 comments on commit e88b4c7

Please sign in to comment.