[
https://issues.apache.org/jira/browse/OFBIZ-9978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Sharma updated OFBIZ-9978:
---------------------------------
Attachment: OFBIZ-9978.patch
OFBIZ-9978_plugins.patch
Thanks Jacques :)
I have updated the patch with changes:
* Renamed js libs with revision numbers for JQuery Browse Plugin, Fancybox.
* Deleted old files (though I had it in the previous patch it seems that these
files are not removed)
* Updated JQuery Form, MockJax to latest versions
It is recommended that rather than detecting a specific browser and then
writing code specific to it, we should detect specific feature support in a
browser & then write specific code. Modernizr (https://modernizr.com/docs) is a
js library to detect browser features. We can check if the code with
jQuery.browser can be replaced with code using Modernizr.
I think we should replace elrte with some other plugin like TinyMCE
https://github.com/tinymce/tinymce.
Though I have in plan for replacing all the plugins like elrte, asm select with
some other plugins with good community support.
> Upgrade Jquery 1.11.0 to JQuery 3.2.1
> -------------------------------------
>
> Key: OFBIZ-9978
> URL: https://issues.apache.org/jira/browse/OFBIZ-9978
> Project: OFBiz
> Issue Type: Improvement
> Reporter: Aditya Sharma
> Assignee: Aditya Sharma
> Attachments: Image 003.png, OFBIZ-9978.patch, OFBIZ-9978.patch,
> OFBIZ-9978_plugins.patch, OFBIZ-9978_plugins.patch
>
>
> As recommended by JQuery Migrate Plugin:
> # Upgrade the version of jQuery on the page to the latest 1.12.3.
> # Add the uncompressed jQuery Migrate 1.x Plugin to the page.
> # Update any plugins in use since later versions are usually the most
> compatible with recent versions of jQuery.
> # Test the page and resolve any warnings that appear on the console, using
> the JQMIGRATE 1.x warning documentation as a guide.
> # Remove the jQuery Migrate 1.x plugin and ensure that the updated jQuery
> code on the page continues to work properly with only the latest jQuery
> 1.x/2.x in use.
> # Upgrade the version of jQuery on the page to the latest 3.0 version
> (currently 3.0.0) and add the uncompressed jQuery Migrate 3.x plugin to the
> page.
> # Test the page and resolve any warnings that appear on the console, using
> the JQMIGRATE 3.x warning documentation as a guide. Report any bugs in
> third-party plugins to the plugin author.
> # Remove the jQuery Migrate 3.x plugin and ensure that the page continues to
> work properly with only the latest jQuery 3.x in use.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)