Crazy Squirrel
Wed 18th Jun '03, 7:42am
Had a smilie that was :\
Never had a problem with it before on vB2, but now it doesn't work properly in the javascript popup smilie window.
New Post -> Show All Smilies:
A Runtime Error has occured.
Line: 320
Error: Unterminated string constant
Starting from line 320:
<td class="alt2"><a href="#" onclick="opener.smilie(':hide:');"><img src="images/smilies/submitted/squirrel/bcomputer.gif" border="0" alt="Hide behind computer" /></a></td>
<td class="alt2">:hide:</td> <td class="alt2"><a href="#" onclick="opener.smilie(':\');"><img src="images/smilies/submitted/smark/ohwell.gif" border="0" alt="Oh Well" /></a></td>
<td class="alt2">:\</td>
The smilies all display in the box, are all clickable(insertable) except :\, clicking :\ acts like a home key - jumps to the top of the smilie box - and does not insert the smilie.
Changing the smilie code from :\ to something without slashes eliminated the problem. I believe there must be something missing in the produced javascript to stop the slash acting as a special character?
Using IE 6.0.2800.1106.xpsp2.021108-1929 btw.
Never had a problem with it before on vB2, but now it doesn't work properly in the javascript popup smilie window.
New Post -> Show All Smilies:
A Runtime Error has occured.
Line: 320
Error: Unterminated string constant
Starting from line 320:
<td class="alt2"><a href="#" onclick="opener.smilie(':hide:');"><img src="images/smilies/submitted/squirrel/bcomputer.gif" border="0" alt="Hide behind computer" /></a></td>
<td class="alt2">:hide:</td> <td class="alt2"><a href="#" onclick="opener.smilie(':\');"><img src="images/smilies/submitted/smark/ohwell.gif" border="0" alt="Oh Well" /></a></td>
<td class="alt2">:\</td>
The smilies all display in the box, are all clickable(insertable) except :\, clicking :\ acts like a home key - jumps to the top of the smilie box - and does not insert the smilie.
Changing the smilie code from :\ to something without slashes eliminated the problem. I believe there must be something missing in the produced javascript to stop the slash acting as a special character?
Using IE 6.0.2800.1106.xpsp2.021108-1929 btw.