For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 13 replies, 4 voices, and was last updated 12 years, 5 months ago by
NeoLaiSoon.
-
AuthorPosts
-
amcMemberedited by Wayne – 20131024,
The custom-list example has been updated to work correctly on ios7. Please see the revision notesi am using the code below to retrieve the selected item from a list (the basis for the code came from http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=1858)
var selectedItem = $(event.srcElement).closest('li[data-listitem-index]'); //get the master file key var key = $('#m1-listpick-key', $(selectedItem)).text(); //get the master file desc var desc = $('#m1-listpick-desc', $(selectedItem)).text();In a web browser (chrome) & on an iphone with IOS6, it works perfectly.
However, once the iphone is updated to IOS7, it fails,
instead of returning single values for key & desc, it returns all the values that were in the list.
so if my list is
1 product a, 2 product b, 3 product c
and i pick the second item
the code returns 123 as key and product aproduct bprocuct c as desc.anyone seen anything similar or have a solution ?
thanks
Tony C
October 10, 2013 at 12:50 pm #343243
support-octavioMemberHi amc,
What mobione version are you using? If 2.5M2, what is the cordova version used?
Could you share a small sample project that replicate the issue?October 10, 2013 at 5:32 pm #343258
amcMemberusing 2.3.2, just going to try 2.5M2 now
October 10, 2013 at 6:11 pm #343260
amcMemberupdated to 2.5M2, same result.
works perfectly in test center, browser & IOS5/6, but fails in IOS7.
I try to create a sample project that demonstrates the problem.
October 10, 2013 at 7:31 pm #343262
amcMemberno need to create a sample project, the error occurs in the custom list sample you provide at http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=1858
created an app from the sample code using 2.5M2 http://goo.gl/7R5DPG
you’ll see in the screen shot that i picked item 3, but the entire list of labels is returned instead of just the 3rd label
Attachments:
You must be logged in to view attached files.October 10, 2013 at 9:21 pm #343263
NeoLaiSoonMemberHi Octavio,
I do get the same issue since update to iOS7, the custom list example run prefect on iOS6 but NOT iOS7.
Regards,
Kelvin NeoAttachments:
You must be logged in to view attached files.October 11, 2013 at 6:18 am #343279
support-michaelKeymaster@innoreal @amc et al,
Thanks for sharing this info. We tracked down the issue to a change in webkit that is present in iOS7 concerning how element IDs are processed. We will post an update asap.
October 11, 2013 at 10:59 pm #343299
support-octavioMember@innoreal @amc et al,
We plan to update the thread on monday or sooner.
October 19, 2013 at 3:02 am #343531
amcMemberwayne / octavio
did this get solved yet ?
October 21, 2013 at 5:49 pm #343592
support-octavioMember@innoreal @amc et al,
We got bogged down assisting with getting mobione 2.5m3 shipped last week. We will provide an update tomorrow (tues). Short handed today with some people out sick.
October 23, 2013 at 8:53 pm #343733
NeoLaiSoonMemberHi Wayne / Octavio,
Are you guys still working on this issue?
Thank you!
October 24, 2013 at 7:26 am #343752
support-michaelKeymasteryes, we have a hack to workaround the problem. We have been working on a new listbuilder utility that massively simplies dynamic list creating but it will not be completed until after the 2.5 release next week. Given that we will post the hack shortly when Octavio is online.
October 24, 2013 at 5:15 pm #343803
support-michaelKeymaster
The custom-list example has been updated to work correctly on ios7. Please see the revision notesOctober 26, 2013 at 7:07 am #343846
NeoLaiSoonMemberHi Wayne,
I tested it work fine on ip5/ iOS7.0.3, thank you!
-
AuthorPosts
