Quote:
Originally Posted by JimpsEd
I have it installed, but getting this script error after uploading something:
Line: 337
Char: 273
Unterminated string constant
Line 337 is:
Code:
attachlist.innerHTML = "<div style=\"margin:2px\"><img class=\"inlineimg\" src=\"images/attach/rtf.gif\" alt=\"magnetic field questions.rtf\" border=\"0\" /> <a href=\"attachment.php?attachmentid=5&stc=1\" target=\"_blank\">magnetic field questions.rtf</a> (758.2 KB)
Any ideas?
|
I got bitten by this, too. It appears IE doesn't like multi-line initializations in Javascript, so every multi-line descriptions will trigger this warning. Also you can 100% trigger this by placing unnecessary new line break in newpost_attachmentbit template.
I got it resolved by rolling back the change in newpost_attachmentbit template. I don't see why it is needed there at all.