Skip to content

send_button_html (and related methods) do not properly escape DAObject intrinsic names that have a ', like dictionary keys #1079

Description

@nonprofittechy

Issue: when you try to invoke send_button_html on an ALDocumentBundle that is in a dictionary, the on-screen rendering fails. Example: the object is named: template_request.requestee_bundles['4167e36be7f04794ad30770e865afe68']

Best resolution is likely to move away from a JavaScript string with hardcoded values, and instead use a data attribute and a click handler. We already can do this in the aldocument.js file we load

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions