Missing bbcode and smiley buttons? (General)

by Riba ⌂, Monday, July 26, 2010, 17:01 (5034 days ago)

Just upgraded from 2.1 to lates 2.2.x version. Took a while to fix the CSS on my custom template but things are looking good at the moment.

Two things are giving me headache at the moment:
1. where is the ajax_preview.png displayed from? Can't find it anywhere!
2. In the posting screen the bbcode and smiley buttons are missing even with Default template:
[image]

I noticed the following in the error console:

Uncaught exception: TypeError: Cannot convert 'p.firstChild' to object
Error thrown at line 1, column 17186 in <anonymous function>() in http://www.locusto.com/forum/js/posting.min.js:
    r={code:p.id,label:p.title,title:p.firstChild.nodeValue,classes:p.className,childs:[]}
called from line 1, column 27916 in <anonymous function>() in http://www.locusto.com/forum/js/posting.min.js:
    i();
called from line 1, column 20638 in ButtonGroup(h) in http://www.locusto.com/forum/js/posting.min.js:
    (function(){if(document.getElementById("bbcode-instructions")){document.getElementById("bbcode-instructions").style.display="none"}if(document.getElementById("smiley-instructions")){document.getElementById("smiley-instructions").style.display="none"}o=a();d();e(false);i();e(true);convertInstructionsToSmilies();c()}())
called from line 1, column 28386 in <anonymous function>() in http://www.locusto.com/forum/js/posting.min.js:
    new ButtonGroup(document.getElementById("postingform"))
called from line 1, column 10916 in <anonymous function: c.ready>() in http://www.locusto.com/forum/js/main.min.js:
    c.readyList[d].call(b,c)
called via Function.prototype.call() from line 1, column 9995 in <anonymous function>() in http://www.locusto.com/forum/js/main.min.js:
    ready.ready()

Any suggestions?

Thanks!

Missing bbcode and smiley buttons?

by Riba ⌂, Monday, July 26, 2010, 17:30 (5034 days ago) @ Riba
edited by Riba, Monday, July 26, 2010, 18:04

I found what it is - changing the language to english fixed it. Must be that some characters in Title property are breaking it....probably something you should check out and clean up the string.

Update: fixed, language file was missing some strings. I will update it in the wiki.

RSS Feed of thread