quiz 'secure' mode MDL-21085 remove popup-blocker check.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 2 Nov 2010 19:49:09 +0000 (19:49 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 2 Nov 2010 19:49:09 +0000 (19:49 +0000)
commit29946ad59579972083729e5a0d09ad6bbc076a08
tree7cb8bf0e9508b2745e5f8de67557f9b925b35491
parent222fb6e5fe1ff26933bc6b90219afb3381ba6bce
quiz 'secure' mode MDL-21085 remove popup-blocker check.

It was unnecessary on modern browsers, since they let thought a pop-up if you just clicked on a link, so this check was just causing an annoying and misleading alert.

Since the popupchecker was only used here, and since it was implemented in a way that does not work on all browsers, I just deleted the function. If anyone ever finds that they acutally need this functionality, they can re-implement it in a way that works.
lib/javascript-static.js
mod/quiz/view.php