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

Jacques Le Roux commented on OFBIZ-4121:
----------------------------------------

I think it's possible using 
http://download.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/index.html#evalfile?
 We need to load jQuery and the cookie plugin before. So we would need to have 
the last jquery version concatened with the last version of the cookie plugin 
(we have them at hand) and after an expression like 
jQuery.cookie("javascripEnabled", "just testing", { path: '/' } concatened. It 
should work, we have then to test if the cookie has just been created.

Seems doable, to be revisited...

> 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