]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed a buglet when changing pages via menu inside a frameset
authormoodler <moodler>
Fri, 12 Dec 2003 14:54:23 +0000 (14:54 +0000)
committermoodler <moodler>
Fri, 12 Dec 2003 14:54:23 +0000 (14:54 +0000)
admin/auth.php

index 7f1cdc83e9dfc0204ab3ac7ca404d7d6597d218a..fb804b8c3326559b20c6f15dd701cfaf3309139c 100644 (file)
@@ -95,7 +95,7 @@
     echo "<form TARGET=\"{$CFG->framename}\" NAME=\"authmenu\" method=\"post\" action=\"auth.php\">";
     print_string("chooseauthmethod","auth");
 
-       choose_from_menu ($options, "auth", $auth, "","top.location='auth.php?auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");
+       choose_from_menu ($options, "auth", $auth, "","document.location='auth.php?auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");
 
     echo "</B></P></CENTER>";