niutech / showModalDialog

window.showModalDialog polyfill using a <dialog> element
https://niutech.github.io/showModalDialog/demo.html
Apache License 2.0
177 stars 88 forks source link

Issue in Firefox #31

Closed VanishreeKS closed 6 years ago

VanishreeKS commented 6 years ago

An error occurs in FF saying dialog.showmodal is not a function. The version of FF is 56.

Please suggest what is the alternate way.

niutech commented 6 years ago

As stated in the README, the dom.dialog_element.enabled preference have to be set to true in about:config or the dialog-polyfill has to be used instead.

VanishreeKS commented 6 years ago

How do I the changes in about:config on server?. It will be difficult to ask the customers to do the change in the about:config. Please help

niutech commented 6 years ago

Have you tried using the dialog-polyfill?

You can track the progress of Firefox in this Bugzilla issue.