Details

      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.

        Issue Links

          Activity

          Hide
          Nicolas Lescure added a comment -

          Occures since ezpublish CE 2012.8

          Show
          Nicolas Lescure added a comment - Occures since ezpublish CE 2012.8

            People

            • Assignee:
              unknown
              Reporter:
              Nicolas Lescure
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: