contao/import — Issue #2854: AjaxRequest.toggleVisibility only supports GIF icons
Author: importer
Created: 2011-11-29 20:24:18+00:00
State: open
Labels: backend, Feature

Please fix the search/replace string so that we can use PNG/JPEG/GIF icons in the Tree Views. When you click on the "publish" icon (eyeball icon), ONLY GIF files are toggles to it's alternate, e.g. location.gif and location_.gif. This doesn't work for PNG, because the search replace has been hard-coded for GIF files. A quick regular expression to search for the ".(gif|jp(e)g|png|tif(f))" or similar will at least trap any image format then. Allowing us to use PNG 32 format, for transparent icons, which look much better than GIF files.

Thanks.

--- _Originally created by thyon on February 8th, 2011, at 08:24am (ID 2854)_