Author Topic: Bug: Forum quote function sets wrong focus  (Read 2101 times)

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Bug: Forum quote function sets wrong focus
« on: March 27, 2011, 07:48:44 AM »
If i use the quote function here in the forum to get a quote into the quick reply, the forum sets the focus not at the end. It is set it mostly between the t and the e from the closing quote bbcode. Sometimes it will be set somewhere at the end of the quote.

Marked with the | in this example.
Code: [Select]
[quote author=jitspoe link=topic=409.msg208245#msg208245 date=1300735615]
Done.
[/quot|e]


So i can't make multiple quotes very fast. The next quote will be insert at the position from the focus => mid in the closing bbcode, that the quote before is damaged. I have to click behind the closing quote bbcode manually after each quote.

pvtjimmy

  • Committee Member
  • Autococker
  • Posts: 2098
Re: Bug: Forum quote function sets wrong focus
« Reply #1 on: March 27, 2011, 08:22:14 AM »
Never had this problem.

While quoting your post into the quick-reply, it sets the focus correctly...

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Bug: Forum quote function sets wrong focus
« Reply #2 on: March 28, 2011, 02:25:14 AM »
Works fine for me too.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Forum quote function sets wrong focus
« Reply #3 on: March 28, 2011, 08:40:45 AM »
Works fine for me too.
[/quot
Never had this problem.

While quoting your post into the quick-reply, it sets the focus correctly...
[/qu
If i use the quote function here in the forum to get a quote into the quick reply, the forum sets the focus not at the end. It is set it mostly between the t and the e from the closing quote bbcode. Sometimes it will be set somewhere at the end of the quote.

Marked with the | in this example.
Code: [Select]
[quote author=jitspoe link=topic=409.msg208245#msg208245 date=1300735615]
Done.
[/quot|e]


So i can't make multiple quotes very fast. The next quote will be insert at the position from the focus => mid in the closing bbcode, that the quote before is damaged. I have to click behind the closing quote bbcode manually after each quote.
ote]e]

Hm, yeah.  Does this only happen in opera?

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Bug: Forum quote function sets wrong focus
« Reply #4 on: March 28, 2011, 10:15:26 AM »
"Opera 11.01" and "Opera 11.10 beta" makes it like i explained.
"Internet Explorer 9" sets it on the first position (before the complete quote).
"Firefox 3.5.18" sets it at the end (behind the complete quote).

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Bug: Forum quote function sets wrong focus
« Reply #5 on: March 28, 2011, 11:23:30 AM »
Must be an Opera bug, because as we all know, Firefox is perfectly flawless. ;D

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Forum quote function sets wrong focus
« Reply #6 on: March 28, 2011, 12:54:08 PM »
Hm, trying to figure out where the "doQuote" function is located.  It appears to work correctly with Opera on the SMF site, so it's probably a bug/old code in this theme.

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Bug: Forum quote function sets wrong focus
« Reply #7 on: March 28, 2011, 02:22:29 PM »
Maybe it is fixed in SMF 1.1.12 or SMF 1.1.13.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Bug: Forum quote function sets wrong focus
« Reply #8 on: March 28, 2011, 02:23:48 PM »
Maybe it is fixed in SMF 1.1.12 or SMF 1.1.13.
Could be.  I need to figure out why the update is failing.