Ticket #2507 (new task)

Opened 8 years ago

Last modified 8 years ago

Remove obsolete JavaScript scripts and files

Reported by: madarche Owned by: gracinet
Priority: P2 Milestone: CPS 3.6.1
Component: CPS (global) Version: 3.5.2
Severity: normal Keywords:


In many products there are some old obsolete unmaintained JavaScript? code not used anymore. This unused code should be removed.

Note also that this obsolete JavaScript? code relies on the Prototype JavaScript? library which we want to get rid of in favor of jQuery.

For example: In CPSDocument/skins/cps_document/cpsdocument.js.dtml there is the code for setupElementResizer which was used to resize textarea HTML elements. Code for resizing textareas is not needed now that modern browsers (Firefox, Chromium, etc.) offer this possibility natively and that providing a JavaScript?-based HTML editor by default is fast and widespread.

Change History

comment:1 Changed 8 years ago by madarche

  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by gracinet

  • Type changed from enhancement to task
Note: See TracTickets for help on using tickets.