Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WebViewer Javascript errors on macOS Sierra

Featured Replies

  • 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. 🤦‍♂️

  • Author
  • Newbies

Actually it works A-OK on macOS High Sierra, and FileMaker 16. So the issue seems to be constrained to macOS Sierra, and is no longer a high priority issue for me.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.