Jump to content

WebViewer Javascript errors on macOS Sierra

Recommended Posts

  • Newbies

I'm initializing a Web Viewer with a data URL, to display a Summernote text editor. This is working perfectly on my local FileMaker, running on macOS Mojave 10.14.6.

When I try the same on a remote machine running FileMaker, and macOS Sierra 10.12.6, Summernote fails to initialize. The debugger for the Web Viewer shows the following error:

SyntaxError: Cannot declare a let variable twice: 't'.
(anonymous function) — summernote.min.js:2

When I copy the data URL and paste it into Safari on the same remote machine, it loads fine.

The solution is hosted on FileMaker Server 16. I'm referencing the needed JS & CSS files from a CDN (Summernote, jQuery, Bootstrap) in the <head>.

Any ideas what is causing this JS error? I'm waiting to hear back, but I think a client is experiencing the same issue on macOS High Sierra. 🤦‍♂️

Link to post
Share on other sites
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.