Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24348

eZFlow: remove block action not working in edit interface

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 5.3.5, 5.4.2
    • None

    Description

      After upgrading legacy eZFlow extension to version 5.3.5, a bug occurs which prevents removing blocks from the ezpage field type using the edit interface. After the confirmation dialog box appears, nothing happens.

      It is caused by an incorrectly defined selector in design/standard/javascript/blocktools.js on line 528, which matches both move_block and remove_block actions.

      https://github.com/ezsystems/ezflow-ls-extension/commit/92b82823bd44edd7e262f2ef92c31184390f6bb2

      Input name in the selector should be prepended with an underscore character, and then the selector will reference the correct button unambiguously:

      Y.all('#zone-' + BlockDDInit.cfg.zone + '-blocks input[name*="_move_block"]').on('click', function (e) {
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fc262394-a899-48af-9188-9148599aa871@accounts.ibexa.co Hrvoje Knežević
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: