Bug #61202
closed
Reimplement ClearCacheToolbarItem icon based on jQuery
Added by Felix Kopp about 10 years ago.
Updated about 6 years ago.
Description
Move Toolbar item functionality to jQuery plugin.
This way we are one step further to removing ExtJS from DocumentTemplate/BackendController.
- Subject changed from Reimplement LiveSearchToolbaritem icon based on jQuery (advanced) to Reimplement ClearCacheToolbarItem icon based on jQuery (advanced)
The underlying javascript file can be found at
sysext/backend/Resources/Public/JavaScript/clearcachemenu.js
There are several things which need to be done in order to switch extjs off.
An easier approach would be to
- remove "Class.create" definition and bring JavaScript object
- move Ext.onReady event to TYPO3.jQuery(document).ready event
- remove position functionality completely (css can do that on it's own)
- remove Event.observe and bring TYPO3.jQuery('').click(function() {} ); event
- remove toggleEvent (should be hover)
= 50% is gone.
The rest is based on jQuery.
See
https://github.com/7elix/TYPO3.CMS.Flat/blob/bootstrap-less-jquery/Resources/Public/JavaScript/Toolbar/ClearCache.js
for inspiration.
- Subject changed from Reimplement ClearCacheToolbarItem icon based on jQuery (advanced) to Reimplement ClearCacheToolbarItem icon based on jQuery
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF