1.1.4 is duplicating page containers
I have a production site that I have been converting from 1.3.2 to 1.4.4 and have just hit a problem with chagnePage() and pagecontainer('change") duplicating a page container in the DOM. I have a list of items that I can edit and when I click on an item's button and this code runs.
- $("body").pagecontainer("change","/maintainPromo/",{'type':'post','reloadPage':true,'data':{'marketcampaignpk':mrkid}});
The next page works fine. I click on back button and then click on another item and it display properly as well. Open up Chrome's inspector and I can see two pages with the same ID. Adding this code
- $("#br_promoMaint").remove();
before changPage fixed the problem but surly there is something wrong going on here. I also tried changing reloadPage:false and got the same result.
Is there something I am doing wrong or is this a bug?
Thanks.