Sc_ajax_javascript add a space (%20) in front of the scriptname

I was wondering if anybody else have the same problem. the macro sc_ajax_javascript in SC9.12 now add a “space” (%20) in from of the scriptname. so, the browser won’t run it.

example. I have to force the form master/detail tab onLoad event, like this:

// Goto Tab (index: id_tabs_2_3)
sc_ajax_javascript(‘sc_control_tabs_2’, array(‘3’));

It worked couple months ago. but doesn’t now. when I check from browser when mouse hover on the Tab Label, browser tell at the bottom:

Run script “%20sc_control_tabs_2(3)”

and from browser Inspect Element, I found “a space” in front of the scriptname:

<-a href=“javascript: sc_control_tabs_2(3)”>Tab Label

(ignore the dash “-” pls)

please advise… thanks and best regards

I found iteration loop when javascript running “sc_control_tabs” as screenshot below…

function sc_control_tabs… call sc_change_tabs…

function sc_change_tabs then call sc_control_tabs again…

even when I run sc_change_tabs directly (not calling from sc_control tabs)… the funcion sc_change_tabs will call itself…