-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot modify body of UI.Card within click handler #56
Comments
Very sorry about that! I just made a fix. The patch notes explains the issue briefly. I'll close this when it's merged into CloudPebble. |
Thank you very much. I'll be waiting for the merge :) |
Hi there, Strangely, I have a similar issue almost exactly a year later :) Here's the code:
This crashes without log output (doesn't help that CloudPebble returns a 403 for the debug.json from Heroku!). I'm compiling on Chalk using Pebble.js in CloudPebble, firmware v3.12 on my PTR. Ninja edit: well ain't that something. I just recompiled and ran the exact same code now, and it doesn't crash anymore. Wonder what changed in the last hour... Huh. Either way, leaving this here for reference in case it happens to anyone else. |
Ah yes, this is a problem with the voice window not being a normal window. I've created a new ticket for this issue, I'll try to think of something to fix it! #165 I'll post in this ticket too when I fix the issue. |
As for the original issue, the fix is now merged in CloudPebble. |
Thanks for taking a look! Just to be clear, when you say the fix is merged in CloudPebble, do I get the latest merged version each time I compile? Do I need to change anything else anywhere? |
Hi,
its not possible for me to change the body of a UI.Card element within a click handler or ajax callback. I try something like that:
The body changes to 'Test2' but the app crashes with no log output.
Whats wrong with my attempt?
Im using cloudpebble with a Pebble Steel (latest firmware).
The text was updated successfully, but these errors were encountered: