Active
Project:
HTMLBox
Version:
6.x-1.0-beta5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
31 Jan 2009 at 22:58 UTC
Updated:
31 Jan 2009 at 22:58 UTC
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) { ...