Jump to content
Server Maintenance This Week. ×

WebViewer Javascript errors on macOS Sierra


Daniel Berkman

This topic is 1561 days old. Please don't post here. Open a new topic instead.

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 17.0.7.700, running on macOS Mojave 10.14.6.

When I try the same on a remote machine running FileMaker 17.0.7.700, 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 comment
Share on other sites

This topic is 1561 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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