new page giving errors when new page is created from template
Hi,
I have a page with a radiobutton group.I made a template and created a new page from this.
On the new page I change some js to suit this page name.
The radiobuttons have 7 events when value change
2 set LSV
3 set property
and 2 js
first js
code/localStorage.clear();/
localStorage.removeItem("toppingslist");
localStorage.removeItem("totalprice");
Apperyio("topgrid1").hide();
Apperyio("toppinggrid1").hide();
divs = document.getElementsByClassName( 'alfungi_toplabel1' );
[].slice.call( divs ).forEach(function ( div ) {
div.innerHTML = ""
});
divs1 = document.getElementsByClassName( 'alfungi_toppricelabel1' );
[].slice.call( divs1 ).forEach(function ( div ) {
div.innerHTML = ""
});
/$('.toppinggrid1').hide();
$('.totalgrid1').hide();/
/code
2nd js
codeApperyio("top14grid1").hide();
Apperyio("top12grid1").hide();
Apperyio("top9grid1").show();/code
here is the error
Is this a known bug?
I also tried cloning the page but I still got the same console error
Thanks