Fix left refresh function
authorJamie Cameron <jcameron@webmin.com>
Fri, 13 Mar 2009 21:44:56 +0000 (21:44 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 13 Mar 2009 21:44:56 +0000 (21:44 +0000)
blue-theme/theme.pl

index e8b14bb..800ab17 100755 (executable)
@@ -91,9 +91,7 @@ sub theme_post_change_modules
 print <<EOF;
 <script>
 var url = '' + top.left.location;
-if (url.indexOf('mode=webmin') > 0) {
-    top.left.location = url;
-    }
+top.left.location = url;
 </script>
 EOF
 }