Do this:

Start to create a story
Enter some text in body
click split at cursor
then click preview

You will end up with just the body and no teaser

However if you join it then split again all is well

I believe the bug is in the javascript code not displaying the teaser section correctly during preview

CommentFileSizeAuthor
#3 patch_139_0.txt534 bytesanders.fajerson
#2 patch_139.txt549 byteswebernet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gopherspidey’s picture

Is it as simple as putting
$(teaser).show(); on line 68 of the teaser.js file?

webernet’s picture

Title: Teaser Window missing after preview » Teaser Window missing after preview and when editing
Status: Active » Needs review
FileSize
549 bytes

I'm able to reproduce this.

The teaser window is missing, only the body is visible when editing a previously saved node. Attaching and reattaching restores the teaser window.

Attached patch adds $(teaser).show(); and everything appears to be working properly.

anders.fajerson’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
534 bytes

Fixes the issue for me. Attaching patch with UNIX line endings.

Steven’s picture

Status: Reviewed & tested by the community » Fixed

Not sure why this didn't appear before, but I can confirm it on Safari 3 and Firefox. The patch fixes the problem as reported. Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)