Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#3 | patch_139_0.txt | 534 bytes | anders.fajerson |
#2 | patch_139.txt | 549 bytes | webernet |
Comments
Comment #1
gopherspidey CreditAttribution: gopherspidey commentedIs it as simple as putting
$(teaser).show(); on line 68 of the teaser.js file?
Comment #2
webernet CreditAttribution: webernet commentedI'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.
Comment #3
anders.fajerson CreditAttribution: anders.fajerson commentedFixes the issue for me. Attaching patch with UNIX line endings.
Comment #4
Steven CreditAttribution: Steven commentedNot 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.
Comment #5
(not verified) CreditAttribution: commented