v9.1.007 sc_redir not working from menu onExecute

Hi. I have been testing and retesting this, but SC v9.1.007 does not let me use a sc_redir in the onExecute event of the menu app.

In the chrome debugger, I am getting these errors. The first one appears to be that SC is loading jquery as http even though I am using https on my site. - same bug even if I call my site from http.

Mixed Content: The page at ‘https://dev.star.cbhc.systems/main_menu/’ was loaded over HTTPS, but requested an insecure script ‘http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js’. This content should also be served over HTTPS.
main_menu_form_php.php?sc_item_menu=item_25&sc_apl _menu=sec_change_pswd&sc_apl_link=%2F&sc_usa_grupo =:22

The second error below appears when I click the item_25 menu item – and this seems to be that $ is not defined - does that mean no jquery - so the redirect not working???

Uncaught ReferenceError: $ is not defined
at main_menu_form_php.php?sc_item_menu=item_25&sc_apl _menu=sec_change_pswd&sc_apl_link=%2F&sc_usa_grupo =:22

---- my code ----
$item = {sc_menu_item};
//echo “item = “.$item.”<BR>”;

switch($item)
{
case “item_25”:
sc_redir(welcome);
break;

default:
// do nothing
}


I have tried on a fresh project with almost no other apps.
Please help :slight_smile:
Thanks,
Jamie

FIXED :slight_smile: in version 9.1.008

I am so happy to report that John L. Santos from Scriptcase fixed my sc_redir bug in the menu app!!! The latest release today (06-19-2018) version 9.1.008 fixed it.
I was able to regenerate my menus and I confirm that sc_redir works now from onExecute.

I am very impressed with SC reading my bug report in this bug forum, and doing it so quickly.

Thanks!
Jamie
:slight_smile: