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
Thanks,
Jamie
FIXED in version 9.1.008