You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ramesh valasa (JIRA)" <ji...@apache.org> on 2016/06/01 05:19:12 UTC

[jira] [Created] (WICKET-6174) Browser/Client info navigatorJavaEnabled property returns undefined

ramesh valasa created WICKET-6174:
-------------------------------------

             Summary: Browser/Client info navigatorJavaEnabled property returns undefined
                 Key: WICKET-6174
                 URL: https://issues.apache.org/jira/browse/WICKET-6174
             Project: Wicket
          Issue Type: Bug
          Components: wicket
         Environment: Ipad chrome browser
            Reporter: ramesh valasa


Hi, 

I was trying to use WebClientInfo to get browser information on the server, In the Ipad chrome 
when retrieving  'navigatorJavaEnabled' is returning 'undefined' instead of true/false. 

The problem is as  'undefined' is string but server is expecting boolean, leads to exception and causing  browser to reload continuously. 

possible solution 

In wicket-browser-info.js 
-------------------------------------- 
info.navigatorJavaEnabled = window.navigator.javaEnabled() || false; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)