changeset 1010:2e7a3dd04833

don't use IE7 hack when editing (IE7+FCKeditor -> IE crash)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Jul 2006 16:32:16 +0200
parents 714b9f7ce9e4
children 58f5af49cd03 277b97ba0700
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Jul 22 16:26:49 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Sat Jul 22 16:32:16 2006 +0200
@@ -608,7 +608,8 @@
 
 
         # tribute to the most sucking browser...
-        if self.cfg.hacks.get('ie7', False):
+        if self.cfg.hacks.get('ie7', False) and self.request.action != 'edit':
+            # using FCKeditor and IE7 at the same time makes nices crashes in IE
             html.append("""
 <!-- compliance patch for microsoft browsers -->
 <!--[if lt IE 7]>