Support Forums
ATutor Bug Reports
Quiz Submit Button Problem under IE9
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| achayka | Subject: Quiz Submit Button Problem under IE9 | |
| Before submitting quiz atutor displays the following message: "You are about to submit the test/survey. Please note that changes are not allowed once the test/survey is submitted, do you want to proceed?". IE8, Firefox9,Chrome16.0 work fine. In IE9 quiz is not being submitted. Instead, everytime message doubles itself with additional click. I took a look at this issue and found a small glitch with jquery. Work around is below for /mods/_standard/tests/lib/take_test.js script: function confirmSubmit(input, confirmMsg){ input_button = jQuery(input); submit_row = input_button.parent(); //jquery submit button alternation input_button.attr('id', 'submit_test'); //input_button.removeAttr('onclick'); input_button.attr('onclick',''); //achayka; this is the fix for not working {removeAttr('onclick')} under IE9; If not removed it appends message record whether you're clicking on msg or submit button without submitting the record //label for the modified submit button input_label = jQuery('<label>').attr('for', 'submit_test'); input_label.text(confirmMsg); submit_row.prepend(jQuery('<br>')); submit_row.prepend(input_label); } I have tested it successfully in IE9, Chrome and Firefox. Thanks, Andrew Posted: 2012-02-03 00:04:03 | ||
chrgrd![]() | Subject: Re: Quiz Submit Button Problem under IE9 | |
| Thanks Andrew. I had observed the same problem on one computer on IE 9 and Firefox 9. On a fresh install on a different server, the problem was not present on IE 9 and FF 9. I'll try your fix Posted: 2012-02-03 00:16:33 | ||
es24tv![]() | Subject: Re: Quiz Submit Button Problem under IE9 | |
| how to solve? I do not find the way thanks Posted: 2012-03-31 05:55:52 | ||
es24tv![]() | Subject: Re: Quiz Submit Button Problem under IE9 | |
| In my country, says: "to make an omelet, you have to break some eggs" Sorry! Posted: 2012-03-31 06:46:33 | ||
| Page: 1 | ||
You must be signed-in to post.




