Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
Description
An error JS occures when the embed image has an "alignment" and no "class".
The JS error is :
TypeError: args.class is null args['class'] = args['class'].replace( /ezoeAlign\w+/, '' );
You can fix the issue in :
/extension/ezoe/design/standard/templates/ezoe/tag_embed_images.tpl, line 62 :
if ( args['align'] )
becomes
if ( args['align'] && args['class'] )
Steps to reproduce
Add an embed image in the OE. Set an alignment, don't set any class, and press ok.
Attachments
Issue Links
- duplicates
-
EZP-19707 Unable to align an embed image
- Closed