[ 
https://issues.apache.org/jira/browse/OFBIZ-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982776#action_12982776
 ] 

Adrian Crum commented on OFBIZ-4121:
------------------------------------

The script in the login screen is what I was referring to. If JavaScript is 
turned off, the JavaScriptEnabled field will not be set to "Y". It's an easy 
way to determine if JavaScript is enabled.

If a user has JavaScript enabled, then "JavaScriptEnabled=Y" will be added to 
the login request URL. That is why you need to include it in any URL that 
bypasses the login screen.

 Setting a cookie and then testing its existence is another way to do the same 
thing, but It's not any easier.


> Determine if javascript is available using jQuery cookie plugin
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-4121
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4121
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> Not depend on the javascripEnabled=Y parameter passed from the login URL 
> (it's stored in the session) to determine if we use javascript or not. But to 
> use jQuery cookie plugin to test if we can create a cookie, else we know that 
> javascrip is not available

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to