openDialog

Capt'n Flash contact at captnflash.fr
Wed Jun 21 13:38:05 UTC 2017


Hello,

 

We are trying to migrate our Firefox extension to the new webextension
standard.

 

Actually, when we click on a button, we are able to open a modal dialog.

The goal of this dialog is to prompt a message from the user, and to save
the result in a variable.

 

We to it llike this :

 

openDialog("chrome://myextension/content/addcomment.xul", "",
"resizable=yes, modal", params, retVals).focus();

 

 



 

 

 

I need to keep this functionnality with webextension, but I get this error
message : openDialog is not a function

 

How can I do this with webextensions ?

 

 

Thanks you in advance for your help,

 

 

Regards,

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/webextensions-support/attachments/20170621/3c7f77b6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 31706 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/webextensions-support/attachments/20170621/3c7f77b6/attachment-0001.jpg>


More information about the Webextensions-support mailing list