forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: foulu on May 23, 2008, 07:49:02 am

Title: [Fixed]: bug in "smilies.inc.php"
Post by: foulu on May 23, 2008, 07:49:02 am
I think I found a bug in "smilies.inc.php". Here is the code

line 163:

Quote
if (document.$form.$field.createTextRange && document.post.message.caretPos) {

it must be

Quote
if (document.$form.$field.createTextRange && document.$form.$field.caretPos) {

it work fine with comment, but not with my forum plugin.
Title: Re: bug in "smilies.inc.php"
Post by: Joachim Müller on October 18, 2008, 04:53:08 pm
Applied suggested fix to code in SVN repository both for cpg1.4.x as well as cpg1.5.x, so this will go into cpg1.4.20 and cpg1.5.0 and better.