Skip to content

WYSIWYG plugins causes "TypeError: string is undefined" #2229

Closed
@SceLPI

Description

@SceLPI

Subject of the issue

WYSIWYG plugins causes "TypeError: string is undefined"

Your environment

  • version of jquery-validate: 1.18.0
  • which browser and its version: Chrome 70.0.3538.67 x64 and Firefox 62.0.3 x64

Steps to reproduce

Using WYSIWYG (tested with Gijgo and TinyMCE) type anything on text field.
Click outside.

Expected behaviour

Just no Errors

Actual behaviour

Logging Error: TypeError: string is undefined
Line 1023

Fix suggestion

Just force variable string to be string everytime on line 1023:
Replace:

1023 return string.replace..
To:
1023 return (string+"").replace..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy