Page 2 of 4
More issues....
Posted: Mon May 26, 2014 3:44 pm
by Bryan Novak
I'm in a similar boat as well. It seems like even the built in Appery bits aren't storing it correctly. I have a simple button that stores the text of a page field into a localStorage variable but all I get at the other end is "Label". I wasn't even using Javascript to set that up, I use Appery's built in variable setting (see below)
Is this something that can be fixed on Appery's side or do we have to manually go and recode every single localStorage call?
More issues....
Posted: Mon May 26, 2014 3:48 pm
by Sjef Moling
So, I have to change all javascripts that access local storage? That's a lot of work...
More issues....
Posted: Mon May 26, 2014 4:00 pm
by Girish Chhugani
Yep. Also, I think its more than just localstorage. There seems to be an issue with accessing elements
More issues....
Posted: Mon May 26, 2014 4:01 pm
by Girish Chhugani
Thats why hidden buttons are still showing up and can't access labels within list items. Hope it's being looked into
More issues....
Posted: Mon May 26, 2014 4:06 pm
by Sjef Moling
So will appery refund to compensate the time I spend fixing this?
More issues....
Posted: Mon May 26, 2014 4:48 pm
by Eugene
$(this).find('[name=name]').text()
works well (you can check it with console.log()).
But the question is why alert() doesn't work?
I've checked all the stuff in Chrome 35 under Linux (maybe its browser or OS specific but I doubt). I'm goint to try to find what is wrong with alert (also with confirm() and prompt())
P.S. Girish, can you invoke e.g. alert("hello") from developers tools in your browser?
More issues....
Posted: Mon May 26, 2014 4:54 pm
by Girish Chhugani
Alert is not the problem. I think you guys misunderstood me. Accessing the text of the label within a dynamically generated list is. I can access texts etc everywhere else
More issues....
Posted: Mon May 26, 2014 4:55 pm
by Girish Chhugani
I think the app is being rolled back
More issues....
Posted: Mon May 26, 2014 5:23 pm
by Eugene
First, sorry for this delusion with broken alert - it's my buggy linux
Second, I did understand you problem with dynamic generated items handlers. The problem is the changing of behavior from our side, which is going to be fixed in the nearest hotfix.
As for workaround, you can either delete the arrow that connects "$[]name" with "itemFriendsText" or I can send you a patched version of one of our resource files and you will replace it on Source tab.
More issues....
Posted: Mon May 26, 2014 6:16 pm
by Maryna Brodina
Dear All,
We are going to roll back recent update. See more details here
http://blog.appery.io/2014/05/importa...
We are sorry for inconvenience.