[
https://issues.apache.org/jira/browse/OFBIZ-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983037#action_12983037
]
Jacques Le Roux commented on OFBIZ-4121:
----------------------------------------
Adrian,
It's not really about "better experience". We should warn them that w/out js
they will not be able to achieve some of their goals. There are 444 calls of <a
href="javascript: in FTL files. Not all are mandatory (for instance you don't
need a lookup to fill a field, same for calendar). But I doubt that in certain
cases you can seriously do it without lookups for instance. For security
reasons there are 248 actions which needs javascript: in FTL files (ie
javascript is mandatory for those actions to work). Just look for <a
href="javascript:document. in *.ftl...
There are 1353 occurences of the word javascript at all in FTL files, 343 in
XML files but there I think it's rarely mandatory.
So I really think it's now wishful thinking to hope using OFBIz w/out js
enabled...
> 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.