It drives me nuts that the tabs are not renamed correctly when I redirect from one app to another. If you redirect to a form from a grid the title of the tabs is still the grid and very very confusing for the user.
However this javascript can fix that when used in the console. Yes I thought!!!
document.getElementById(‘aba_td_txt_item_35’).innerHTML = “Set Up Schedule”;
So it will rename the tab to whatever we want - logically being the name of the app that is being displayed.
However it does not work as is in the events. I am sure I got it to work once but I have forgotten how. The whole script I had was something like this.
echo “<script>
$(document ).ready(function() {
menu = document.parent.getElementById(‘div_contrl_abas’);
menu.getElementById(‘aba_td_txt_item_35’).innerHTM L = ‘Set Up Schedule’
})
</script>”;
In other words it was necessary to identify the menu as a parent of the app I was in. (Or was that the main menu, not the tabs, I forget).Anyone know how to take that super little code snippet and make it work?