Page 1 of 1

new page giving errors when new page is created from template

Posted: Sat May 09, 2015 1:15 pm
by Michael4771079

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


new page giving errors when new page is created from template

Posted: Sat May 09, 2015 6:08 pm
by Michael4771079

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


new page giving errors when new page is created from template

Posted: Sat May 09, 2015 6:09 pm
by Michael4771079

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


new page giving errors when new page is created from template

Posted: Sun May 10, 2015 10:31 pm
by Michael4771079

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


new page giving errors when new page is created from template

Posted: Mon May 11, 2015 5:50 am
by Evgene Karachevtsev

Hello Michael,

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


new page giving errors when new page is created from template

Posted: Tue May 12, 2015 6:02 am
by Serhii Kulibaba

Hello Michael,

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