apophys Posted May 25, 2015 Report Posted May 25, 2015 According to Bored, when I went to check the status of the recipe that was not yet complete, it tried to put a literal newline in the chat, which broke the chat. Steps to reproduce: Open the cake tin. Start making cake. Add some ingredients (but not all). Click "Check status" on the cake tin. Quote
Assira the Black Posted May 25, 2015 Report Posted May 25, 2015 (edited) The chat error that pops up when that happened. (was there at the gazebo when they were making the cake.) [log=Error] var chatobj = document.getElementById('livechat'); chatobj.innerHTML = "<div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=aW87J_YEmhmBsk7quA3d3eJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'></font></a>: </strong> <em style='color:#669966;'>We are currently preparing cake. We still need: 2 Unidentified plants. (Already provided: Water, Aromatic herbs, Rainbow candy by WittyLeWat)</em></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=pA2ExGn2peCYh0jYtvUdw7dijfjiD7ORrZQu0kRb3g5Cwwi9t_oQNmCMKwMxbcVM'><font color='#BC9434'>WittyLeWat</font></a>: </strong> (<font color='#888888'><i>my messages a not loloading anymore</i></font>) </i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div><div class='chatlistitem'><strong><a target='userdetails' href='../dlg/dlg.userdetails_arena.php?eid=acoYOAaNGsEzIhduJExURuJql0b6HkOZISWmZiYX-ir6WDNudyWR6iIrNmU37xmS'><font color='#BC9434'>I am Bored</font></a>: </strong>.</i></font></div>"; [/log] Edited May 25, 2015 by Assira the Black Quote
I am Bored Posted May 25, 2015 Report Posted May 25, 2015 That isn't the full error Assira, but it does have the part that matters. In the middle of that, you'll notice the newline after " (Already provided:", it is this newline that causes the error. A <br/> should be used instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.