Support Request: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating

Reproduction

Set Site Kiosk to show Javascript errors. Alternatively, use the WebrowsercontrolBrowser to view the behavior. Run the attached skfg file or go to http://s36.a2zinc.net/clients/pennwell/PGE2014/Public/Exhibitors.aspx in the test browser.
In the search window, type ABB (or any exhibitor shown in the list). Click on "Search".
You should see a javascript error for "Object doesn't support property or method 'preventDefault'

Description

The control browser and SiteKiosk are flagging a JavaScript error where none should exist, which prevents the site from working. If you test the same steps under Internet Explorer (versions 8, 9, and 10) with the JavaScript console open, you will see that no error is encountered and the site functions properly. Same goes for Google Chrome and Mozilla Firefox. I cannot find a setting to allow the web site to function properly. For some reason the engine you are using is preventing the event from being captured or passed.

I can also see page rendering issues (e.g. the Search button style does not reflect what I see in IE and other browsers), I don't know if that is somehow remotely related, but I thought I would mention it.

Answer: (14)

Re: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating 6/3/2014 3:22 PM
The issue appears to be caused by the compatibly view mode that someone has changed to false in the xml of your configuration file.
http://www.provisio.com//en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=9701
<ie8-compatibility-view enabled="false"/>

When setting it back to true it also works in SiteKiosk (Tested on Windows 7 with IE10 and Windows 7 with IE11 and your configuration).
<ie8-compatibility-view enabled="true"/>

Please note that providing script permission is only necessary when using SiteKiosk Object Model code on the web page:
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?access.htm#three

For JavaScript that is not necessary and it works on all web pages out of the box (until you deactivate the option “Allow Java & VB scripts” at -->Access/Security).
Re: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating 6/3/2014 4:26 PM
Compatibility mode was changed to false when an earlier issue was detected a few months ago (see earlier support requests under my account) and your team advised us to do so. Making the change corrects one problem, but causes others. For example, after I make the change (and start two times), I can get the search to work. When I click on the company in the results list (ABB), I get a page with the company information. If if click on the floor map on the right, I get a pop-up with thre incorrect company in the left side exhibitor list and the company is not identified on the map. If I go back to using the "false" setting, the search does not work, but I can click on ABB in the list. Once again, I see the company information on a new page. But if I click on the floor map, ABB is in the exhibitor list on the left and it is properly identified on the floor map.

I don't think I can change back and forth between compatibility mode true and false, so what do I do?
Re: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating 6/3/2014 7:26 PM
There are different browser emulation settings you can try to use. Will you be using IE10 or 11 for your deployment?
Re: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating 6/3/2014 8:26 PM
I believe it is 11, but may be 10 (it is running at an off site location).
Re: SiteKiosk is throwing a javascript error that no other browser sees - prevents site from operating 6/3/2014 9:53 PM
Here are the other possible compatibility mode settings:
With IE10 installed e.g. with
<ie8-compatibility-view enabled="true" emulation-mode="8000" />
<ie8-compatibility-view enabled="true" emulation-mode="9000" />

With IE11 installed e.g.
<ie8-compatibility-view enabled="true" emulation-mode="8888" />
<ie8-compatibility-view enabled="true" emulation-mode="9999" />
<ie8-compatibility-view enabled="true" emulation-mode="10001" />

more info:
http://msdn.microsoft.com/en-us/library/ee330730%28v=vs.85%29.aspx#browser_emulation

Remember that you will need to start SiteKiosk a second time after changing any of these settings for the setting to take effect.
Pages (3): [1] 2 3 Next »
My Account
Login
Language (Tickets):