[rt-users] Stateful TitleBoxes don't work with localized RT

Nick Filimonov nick at freenet.ru
Mon Feb 5 08:59:31 EST 2007


Gentlemen,

          It appears that stateful TitleBoxes don't keep their state
if user is using language other than ASCII-based one, because of using
national characters in cookie names. This results in cookies being set
garbled, and TitleBoxes remain as they were prior to doing any
rollup().
          I've made a quick fix by adding escape(name) and
unescape(c[0]) to createCookie() and loadTitleBoxStates()
respectively, and it appears to work quite well with IE and Mozilla.
It would be cool if this small change would somehow make it into the
future release of RT, as lots of people find it "annoying" to have a
rollup feature that does not work for them.

Sincerely Yours,
Nick Filimonov




More information about the rt-users mailing list