Skip to main content

ABCD 3.8.2 – Bug fixes for this version

· 2 min read
Roger C. Guilherme
Programmer and librarian at ABCD

What's Changed

  • Rebuild SubC JS and handle picklists/indicators by @rogercgui in https://github.com/ABCD-DEVCOM/ABCD/pull/656

    • Refactor campos.php parsing to collect IND/S rows into a JS-friendly SubC string and simplify picklist/label population. The PHP now accumulates relevant rows into subc_js_array, handles both "S" and "IND" marker types (with a historical fallback), builds picklist/name entries with proper escaping, and emits SubC as a single \n-separated JS string. Update editarocurrencias.js to dynamically reconstruct the actual subfields (subc_reais) from SubCampos and inject them into Tx[5], ensuring the renderer sees indicators/subfields even when they were omitted from the main FDT. Improves compatibility with older DB formats and makes picklist/indicator handling more robust.
  • New layouts by @rogercgui in https://github.com/ABCD-DEVCOM/ABCD/pull/657

  • Fix browseby behavior and record checkbox by @rogercgui in https://github.com/ABCD-DEVCOM/ABCD/pull/658

    • Fix browseby behavior and record checkbox
    • menu_main.php: Prevent programmatic updates to the "browseby" select from triggering onButtonClick (avoids unintended recursive/user-action side effects), add logic to call top.Menu('same') when keeping the current record after changing browse mode, add error logging, and translate several comments to English. toolbar_record.php: Correct MFN handling (properly derive mfn_val), guard against missing DOM element before updating, and set the "Select Record" checkbox via the checked property so it accurately reflects selection state.

Full Changelog: https://github.com/ABCD-DEVCOM/ABCD/compare/v3.8.1...v3.8.2