Posted by apapacy on January 31, 2009 at 10:58pm
| Project: | HTMLBox |
| Version: | 6.x-1.0-beta5 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | apapacy |
| Status: | active |
Issue Summary
htmlbox.module,v 1.9.2.3 2008/09/01 20:24:49 poetro with teaser.js,v 1.12 2008/01/09 12:10:04 goba
generate JavaScript error thru calling body.val() in teaser.js Line 75.
The value of body.val sometimes is null.
Change code in teaser.js fix this problem:
// Extract the teaser from the body, if set. Otherwise, stay in joined mode.
if (body.val())
var text = body.val().split('', 2);
if (text && text.length == 2) { ...