themes/oxygen/header.tpl
changeset 80 cb7dde69c301
parent 74 68469a95658d
child 81 d7fc25acd3f3
--- a/themes/oxygen/header.tpl	Mon Jul 30 10:46:17 2007 -0400
+++ b/themes/oxygen/header.tpl	Wed Aug 01 13:39:27 2007 -0400
@@ -67,7 +67,7 @@
       
       function ajaxRenameInline()
       {
-        if ( KILL_SWITCH )
+        if ( KILL_SWITCH || IE )
           return false;
         // This trick is _so_ vBulletin...
         elem = document.getElementById('h2PageName');
@@ -101,10 +101,12 @@
       }
       function ajaxRenameInlineCancel(e)
       {
+        if ( typeof(e) != 'object' && IE )
+          e = window.event;
         elem1 = document.getElementById('h2PageName');
         elem2 = document.getElementById('pageheading');
         if(!elem1 || !elem2) return;
-        if ( e.target )
+        if ( typeof(e) == 'object' && e.target )
         {
           if(e.target == elem2)
             return;