RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

upgrading libraries from 1.2 to v 2.0 problems

I agree with Michael. There's a growing need for a way to reduce the number of unproductive posts to and from support. Perhaps the simplest would be a strict requirement for the issue poster to provide specific details on his/her first post on previous steps taken and resources consulted. Support can then take it from there.

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

upgrading libraries from 1.2 to v 2.0 problems

Is there anybody out there?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

upgrading libraries from 1.2 to v 2.0 problems

Michael, this will take some time. We'll let you know result.

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

upgrading libraries from 1.2 to v 2.0 problems

Hello Michael,

Every page that causes an error has slider component and run JavaScript action on "load" event with code like this:

Tiggzi("saucetoggle1").empty().append("ChilliGarlic").flipswitch('refresh');
Tiggzi("saucetoggle1").parent().find(".ui-slider-label-a").text("Garlic");
Tiggzi("saucetoggle1").parent().find(".ui-slider-label-b").text("Chilli");

Delete or disable all invocation of code like above and you'll eliminate errors in the console. What result are you going to achieve with this code?

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

upgrading libraries from 1.2 to v 2.0 problems

Hi Evgene,
this code lets user choose between 2 options , and the code below saves the detail in localstorage array

code$grid = $(this).closest("[name=chickenpizzamobilegrid]");
save({'Kebab':$grid.find("[name=chickenpizza_item_label]").text(),
'Served_With':$grid.find("[name=thin_deeptoggle]").val(),
'Sauce':$grid.find("[name=saucetoggle]").val(),
//'Pricelabel':$grid.find("[name=pricelabel]").text(),
'Price':$grid.find("[name=chickenpizzaPricelabel]").text()},
"kebabArray");/code

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

upgrading libraries from 1.2 to v 2.0 problems

Michael,

You can set "On Label Text" and "Off Label Text" for toggle component with UI builder: http://devcenter.appery.io/documentat...

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

upgrading libraries from 1.2 to v 2.0 problems

Ok Evgege,
are u saying that my saving code above will sill work if I remove the toggle js?

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

upgrading libraries from 1.2 to v 2.0 problems

Michael,

I've just recommended disable code that appends labels to the toggle components. You should do it in the UI builder. Disable all invocation of this code and you'll eliminate errors in the console.

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

upgrading libraries from 1.2 to v 2.0 problems

OK Evgene
I have disabled 2 toggles code on kebab page, now I have new error, it looks like the order js is causing this

$grid = $(this).closest("[name=chickenpizzamobilegrid]");
save({'Kebab':$grid.find("[name=chickenpizza_item_label]").text(),
'Served_With':$grid.find("[name=thin_deeptoggle]").val(),
'Sauce':$grid.find("[name=saucetoggle]").val(),
//'Pricelabel':$grid.find("[name=pricelabel]").text(),
'Price':$grid.find("[name=chickenpizzaPricelabel]").text()},
"kebabArray");

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

upgrading libraries from 1.2 to v 2.0 problems

Hi Michael,

Sorry. This is a bug. You can't map collection to a Grid with Toggle component inside. You should use libraries version 1.2.

Return to “Issues”