Script problem in the Create Ticket screen

Hi,

This may well be old hat and fixed in the latest version but I thought I’d
report it just in case.

From RT’s “home” screen, clicking on “New Ticket in” raises a scripting
alert about a missing “)” character.

Looking at the code involved, I see the line:

doOnLoad(hide(document.getElementById(‘Ticket-Create-details’)););

which has the required # of “)” but has a superfluous semicolon.

Cheers,

Richard.

smime.p7s (3.61 KB)

Hi,

This may well be old hat and fixed in the latest version but I thought I’d report it just in
case.

From RT’s “home” screen, clicking on “New Ticket in” raises a scripting alert about a missing
")" character.

Looking at the code involved, I see the line:

doOnLoad(hide(document.getElementById(‘Ticket-Create-details’)););

which has the required # of “)” but has a superfluous semicolon.

You don’t say what version of RT this is, but as far as I know a JS
error that sounds similar to this was fixed at least 18 months ago,
along with many other browser fixes included in more recent releases.

git show 14b518d8

-kevin

Hi,

This may well be old hat and fixed in the latest version but I thought I’d report it just in
case.

Indeed it is already fixed. For the future, it’s always good to mention which version
of RT you’re reporting a bug in.

Best,
Jesse