quiz MDL-10128 popup checker no longer requests a non-existent file which was causing messages in server logs

This commit is contained in:
Andrew Davis
2009-12-10 02:29:53 +00:00
parent c23c90093e
commit 496e3ccdd2
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Miscellaneous core Javascript functions for Moodle
function popupchecker(msg) {
var testwindow = window.open('itestwin.html', '', 'width=1,height=1,left=0,top=0,scrollbars=no');
var testwindow = window.open('', '', 'width=1,height=1,left=0,top=0,scrollbars=no');
if (!testwindow) {
alert(msg);
} else {