Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

js not working since upgrade

Hi Michael -

It seems we found a bug, I've reported it. But could you please describe what should be the Expected result after all steps above? And what is actual result is now in your app?

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

js not working since upgrade

Hi lllya,
the result when this js is run co click

code$grid = $(this).closest("[name=mobilegrid_1_3]");
save({'Item':$grid.find("[name=sundrieslabel_55]").text(),
'Price':$grid.find("[name=costlabel_58]").text()},
"livesundriesorderArray"); /code

is to save the values in the labels to LSV livesundriesorderArray, and if any other item on the page is clicked to order its added to the array.

All data is mapped to a grid and then identifies the item clicked and saves to array

the app thats in itunes is "TGF Pizzeria" and if you load on iphone you will see how it works (order 2 items from any of the menus and click "checkout", both items will print on "checkout" page

this code is used on almost every page of this app.

Im also expecting problems with delete item code on checkout page as well, but we havn't got that far yet

The code we are talking about is just to save or add to the array "livesundriesorderArray"

When clicked in new builder nothing happens, notting is saved to the array, and no errors are shown in console.

Happy to anwser or post anything you may need to discover the issue.

However im under extreme presure now, with apples deadline feb 15th date for 64bit

Hope this helps! :(

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

js not working since upgrade

update : page name has changed to sundries

open app and login use "a" as login and pass,
click new order button,

from menu click sundries

on sundries page click collapsible and then click order,
the following code is run on click of order button and the details of the labels in the collapsible should be saved in localstorage "livesundriesorderArray"

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

js not working since upgrade

Hi Michael -

After all the above steps, I see this in localStorage:
Image

is this expected result or?

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

js not working since upgrade

Thats it lllya,
seems to be working now
what changed?

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

js not working since upgrade

Hi lllya,
its works most times but it takes a while to print in localstorage and sometimes only after you have navigated to another page.
When this happens the navigation from the menu page stops working, it shows no error in console.
I think there is still something buggy here?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

js not working since upgrade

Ok, Michael. Thank you for this additional details, we'll continue researching what could causing this.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

js not working since upgrade

Michael -

Sorry, but we're struggling to catch behavior you've described above. Could you please provide us the exact steps to reproduce it?

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

js not working since upgrade

Hi lllya,
I checked it again here is what happens in firerfox,
on the sundries page when I click to order an item it doesnt always print immediately, it does print when I navigate to another page

In chrome it prints straight away,
I need to add the user update service to this page and see if the array is posted to the user db

Let me check this and I will reply here,

The issue with the menu page not working I have discovered this is happening when an item is ordered on the anglovegpizza page,

(this I think is because of the selectmenu issue)

thanks

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

js not working since upgrade

Hi Michael -
[quote:]I checked it again here is what happens in firerfox,
on the sundries page when I click to order an item it doesnt always print immediately, it does print when I navigate to another page [/quote]
Can't reproduce it in the FireFox - does it happens when you navigate to some specific page?

[quote:]In chrome it prints straight away,
I need to add the user update service to this page and see if the array is posted to the user db[/quote]
Sorry, I'm not sure I see any update service on your page. Could you please clarify on what page should be this service.

[quote:]The issue with the menu page not working I have discovered this is happening when an item is ordered on the anglovegpizza page[/quote]
I've found after I made an order and save value of it in the local-storage, the menu in panel doesn't work anymore.

Return to “Issues”