-
Notifications
You must be signed in to change notification settings - Fork 14
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
Broken bridge communication under SU2014 #59
Comments
Can you post the source for that dialog? You can use gist or something. Sent from my Sony Xperia™ smartphone Noel notifications@github.com wrote:
|
A few things: This problem is coming and going for me. Makes me think I thought I had filed an issue with SKUI on github. Must have pressed the 2013/9/20 Thomas Thomassen notifications@github.com
|
Yea. I recently pushed some code that affected the bridge. Pull the latest changes and see if it comes back. See you in Lisbon! Awesome! Sent from my Sony Xperia™ smartphone Noel notifications@github.com wrote:
|
https://gist.github.com/noelwarr/47c9d1df1064a1f60e5e I'm pretty sure it must be a timing problem with ruby/js because the
If it is a timing thing it'll be difficult to reporduce on another machine 2013/9/20 Noel Warren noelwarr@gmail.com
|
The bridge should take care of the async nature of js to ruby. There should be no need for timing. Sent from my Sony Xperia™ smartphone Noel notifications@github.com wrote:
|
Yup
|
I'll look at it next week. I'm out travelling the whole weekend. Sent from my Sony Xperia™ smartphone Noel notifications@github.com wrote:
|
Can you supply a working self contained example? When I try to load that gist I just get errors.
|
Ok, worked around it by commenting out the image. But I'm not seeing the same error as you. I find a different one. Can you describe exactly the steps that lead up to that error? |
Hi Thomas Thanks for taking the time to look into this. I'm trying to put together a Anyway, just to let you know I'm working on it. I'll write back later. 2013/9/22 Thomas Thomassen notifications@github.com
|
It seems I HADN'T correctly pulled from your repo. God damn it.[image: 2013/9/23 Noel Warren noelwarr@gmail.com
|
Is it working ok now? |
Yeah. Sorry for the bother. Everything is working a charm. Looks like 2013/9/23 Thomas Thomassen notifications@github.com
|
No worries. I did find some other bug that I fixed. :) |
I have a window with a button with an on-click callback. The call back looks at the values of a few controls. It is uppon checking these values that an error is thrown:
Error: #<SKUI::Bridge::CommunicationError: Unknown error. Ensure DOM is ready.>
A little further investigation seems to indicate that
Bridge.execute("Bridge.get_value("#UI_81846250 select");") is returning false, when it shouldn't. Any ideas?
This was working quite well under SU2013
The text was updated successfully, but these errors were encountered: