Closed acorbi closed 7 years ago
I will help to fix this.
I don't have any problem with removing the column, see the screenshot below:
@Huyeng I already opened a PR some days ago with the fix for this issue. Please review https://github.com/OpenDevelopmentMekong/wp-odm_tabular_pages/pull/90 and merge if you agree.
Currently, the laws pages on ODC are configured to present the information in 4 columns. See https://pp.opendevelopmentcambodia.net/tabular/laws-profiles-and-agreements/
If one column is removed, a javascript error gets thrown:
The problem probably relies on the fact that there is some code which takes for granted that there are ALWAYS 4 columns configured. Probably, following line is relevant:
https://github.com/OpenDevelopmentMekong/wp-odm_tabular_pages/blob/master/post-types/templates/single-tabular.php#L361
This needs to be coded in a generic/flexible way.
@Huyeng you were working recently with the column width. can you please take over this task?