Advanced search  

News:

cpg1.5.24 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 or cpg1.5.22 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: [Fixed]: bug in "smilies.inc.php"  (Read 20264 times)

0 Members and 1 Guest are viewing this topic.

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
[Fixed]: bug in "smilies.inc.php"
« 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.
« Last Edit: October 18, 2008, 04:53:19 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: bug in "smilies.inc.php"
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.193 seconds with 20 queries.