- Issue created by @maxmendez
In some cases the settings.context_groups_regions order is different of the regions table, and the javascript method Drupal.behaviors.addClassToRegions assings wrond values to the attribute data-region, when this happened block changes its real region value using the incorrect value in the attribute data-region during the reorder action.
Create a foreach similar of the used on context_groups_add_regions_to_table to generate an array to set on settings.context_groups_regions with the correct order of regions.
Active
2.0
Code