You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/01 19:18:59 UTC

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

    [ https://issues.apache.org/jira/browse/WICKET-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15310939#comment-15310939 ] 

ASF subversion and git services commented on WICKET-6174:
---------------------------------------------------------

Commit fc2f2a829491b255939e9175ab3b7edeacb137d9 in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=fc2f2a8 ]

WICKET-6174 guard against #javaEnabled() returning undefined


> 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; 
> Also posted the same in wicket forum:
> http://apache-wicket.1842946.n4.nabble.com/Browser-Client-info-navigatorJavaEnabled-property-returns-undefined-td4674794.html



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