Details
-
Bug
-
Resolution: Duplicate
-
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) {