Have a master page with various navigation buttons. I also have a config section (on a normal page) that allows me to select which options/buttons I want to display on the masterpage.
My problem is that when run the script for the master page then run an additional few lines of code the master page does not update.
ie: code attached to a check box on change event
this.resolveNode("ConfigSetup").Deadlines(); // update master pages hide deadline btn
if(this.rawValue ==1) Main.SetUp.Config.DisplayOptions.Deadlines.DeadlineOptions.presence = "visible"; else Main.SetUp.Config.DisplayOptions.Deadlines.DeadlineOptions.presence = "hidden";
The first line runs fine by itself, hiding the required field on the master page
But if the second line is run at the same time, the master page reverts back to its original format.
No errors on the console.
Anyone have a solution for me?