Item5696: Save and preview button missing in IE

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: NatSkin
Branches:
Reported By: TWiki:Main.LevienVanZon
Waiting For:
Last Change By: MichaelDaum
Our site (http://www.vsfe.org) runs on a TWiki 4.2.0 installation that uses NatSkin. Editing a page using TinyMCE works fine in Firefox, but in Internet Explorer the line with Save/Preview/Add form buttons is missing. IE reports that there is an error on the page (line 25, character 3), and that focus cannot be shifted to an invisible or disabled element. The error seem to refer to this bit of code (lines 21-31):

<script type="text/javascript">
$(function() {

txtarea = document.EditForm.text; // tell natedit where our textarea is
document.EditForm.text.focus();

$(".natMainContents .twikiTable, .natMainContents .mwTable")
.not($(".twikiTable .twikiTable, .mwTable .mwTable", this))
.wrap("<div class='overflow'></div>");
});
</script>

I'm not sure if this is also causing the display problems because I'm not really familiar with JavaScript and CSS. But as most people are using IE, it is important for me to get this working again. I've tested it on IE 6.0.2800 SP 1 (Windows XP). It looks like the same problem described by JenniferRoss on TWiki:Plugins/NatSkinDev .

-- TWiki:Main/LevienVanZon - 10 Jun 2008

This workaround from TWiki:Main/MarkVanHeeswijk on TWiki:Plugins/NatEditContribDev seems to solve the problem:

Editing the template edittoolbar.word.natedit.tmpl and remove class natEditHiddenToolBar from natEditToolBar.

-- TWiki:Main.LevienVanZon - 17 Jun 2008

Dunno when that was fixed.

-- MichaelDaum - 03 Jul 2009

ItemTemplate edit

Summary Save and preview button missing in IE
ReportedBy TWiki:Main.LevienVanZon
Codebase
SVN Range TWiki-5.0.0, Sun, 01 Jun 2008, build 16865
AppliesTo Extension
Component NatSkin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 03 Jul 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy