Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1.1k
    • Issues 1.1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #2782
Closed
Open
Issue created Aug 23, 2021 by tommybobo@tommybobo

SMS Character Counter breaks SMS Action Popup

Overview

In 5.40.1+ the new SMS Common Template includes a character counter -- This feature works great if the SMS message is constructed using a full page, but if you select a "Outbound SMS" from an individual's action menu the pop up version of the SMS composer breaks.

Reproduction steps

  1. Open Individual
  2. In Action Menu -> Select "Outbound SMS"
  3. Composer loads, but Templates, Tokens, Contact Name, and Counter are blank.
  4. Error in console is "Uncaught ReferenceError: SmsCounter is not defined"

Current behaviour

SMS Composer pop up is blank with error

Expected behaviour

SMS Composer pop up should function the same way as a single page composer.

Environment information

Seen in Wordpress and Drupal with CiviCRM 5.40.2

Comments

It appears the changes from this issue created this error - #1711 (closed)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking