WebDialog.set_html fails under Safari 5.0.6
-
I wish someone could make a one-click dmg installer for Sketchup Mac that would bring their Ruby up to par with the PC edition.
-
The problem seems to be in all versions after 5.0.6
A user encountered the problem on Safari Version 5.1 (7534.48.3): images not shozing and Update (via xmlhttprequest not working)
Fred
-
I'm a bit confused here.
So if you would use set_file then all should work fine?
I'm using that method and it loads a html file but the linked js files inside do not seem to work.
They do however work when just opening the html file with Safari. (So not in a webdialog) -
@pout said:
I'm a bit confused here.
So if you would use set_file then all should work fine?
I'm using that method and it loads a html file but the linked js files inside do not seem to work.
They do however work when just opening the html file with Safari. (So not in a webdialog)Yes,
set_fileshould work. Got a sample of what is not working? -
-
and in SU you can launch by TESTOLA.testing in ruby console
-
With your WebDialog in Safari 5.0.6 Web Inspector shows this error
TypeError: 'null' is not an object (evaluating 'navigator.userAgent.match(/(?:KHTML\D*|VERSION\D*)(\d[\d\.]+)/i)[1]')I'd look into that to start.
john
-
hmm... why are you sniffing the userAgent string? It's preferred to test for features instead of testing the user agent string.
-
Well it is in fact not a script written by me.
It is an external script which i'm trying to incorporate.
So the complete js side is unclear to me.
In what file is the error located?Thx again
-
@pout said:
In what file is the error located?
Thx againGridE.js
It's in encodedstring LZD="....."which I can't look at.
john
-
driven, thx!!
I have reported the error an already received a debugged version (bug at their side)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement