Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

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 = "&quot
});

divs1 = document.getElementsByClassName( 'alfungi_toppricelabel1' );

[].slice.call( divs1 ).forEach(function ( div ) {
div.innerHTML = "&quot
});

/$('.toppinggrid1').hide();
$('.totalgrid1').hide();/
/code

2nd js

codeApperyio("top14grid1").hide();
Apperyio("top12grid1").hide();

Apperyio("top9grid1").show();/code

here is the error

Image

Is this a known bug?
I also tried cloning the page but I still got the same console error

Thanks

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

new page giving errors when new page is created from template

Hi Alena,
could I get an awnser here whether this is a known bug and if so will it be fixed with tomorrows update?

I added a new radiobutton group to the page made from template and reimplemented tthe events and all worked well.

I also tried saved radiobuttton group as custom component and I got the same error
even after making required changes

So it seem to be when making template, duplication page, and custom component, on radio button group gives above error

Thanks

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

new page giving errors when new page is created from template

I have 36 pages to create, theres the hurry:)

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

new page giving errors when new page is created from template

Hi Folks,
can someone answer if this is a bug or its something that can be solved.
Solved = 2 hours work for me
redo by hand = 2 days which I could do without spending on something that should not need it.
any chance of an answer or even an acknowledgement!

you will kill your own product with this level of service

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

new page giving errors when new page is created from template

Hello Michael,

We are very sorry for delay, we are investigating this issue and will get back to you with the update.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

new page giving errors when new page is created from template

Hello Michael,

It looks like you use somewhere on load event radiobutton. Please check your events handlers. Notice that templates change components names.

Return to “Issues”