problem with preview (General)
Hi Alex!
I get an error in preview in IE7 with the following message:
Zeile: 411
Zeichen: 5
Fehler: Objekt erforderlich
Code: 0
URL: http://localhost/forum_v2/forum/index.php?mode=indexWhere is the problem?
Sometime it shows me a preview and sometime not!Rgds
Uwe Loyal
The Error is in Javascripts.js:
function updatepage(id,xml){ //var subject = xml.getElementsByTagName('subject')[0].firstChild.data; var content = xml.getElementsByTagName('content')[0].firstChild.data; if(content=='') content = '<p>-</p>'; document.getElementById("ajax-preview-content").innerHTML = content;
...
Does anyone know why?
Rgds
Uwe Loyal
--
Edit: Syntax-highlighting added to get rid of the smilie-bug.
The reported error is in line 410 (2.0beta19) starting with var content...
[Alfie]