Bug 1557237 - C-C part: Adapt to array changes of nsIPrompt.select(). rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Fri, 07 Jun 2019 00:01:13 +0200
changeset 35798 03aa53d80cf1d409c1bd97276396acd67fdb5003
parent 35797 142b160a5552bba18b1733c385aed6d543045f8a
child 35799 63d774f75722cf748d14da2e4fc1feb41c62c004
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersbustage-fix
bugs1557237
Bug 1557237 - C-C part: Adapt to array changes of nsIPrompt.select(). rs=bustage-fix
editor/ui/composer/content/ComposerCommands.js
--- a/editor/ui/composer/content/ComposerCommands.js
+++ b/editor/ui/composer/content/ComposerCommands.js
@@ -1245,18 +1245,18 @@ var gEditorOutputProgressListener = {
     var ret = PromptUsernameAndPassword(dlgTitle, text, savePWObj.value, userObj, pwObj);
     if (!ret)
       setTimeout(CancelPublishing, 0);
 
     return ret;
   },
    *************************************************************************/
 
-  select(dlgTitle, text, count, selectList, outSelection) {
-    return Services.prompt.select(window, dlgTitle, text, count, selectList, outSelection);
+  select(dlgTitle, text, selectList, outSelection) {
+    return Services.prompt.select(window, dlgTitle, text, selectList, outSelection);
   },
 
   // nsIAuthPrompt
   prompt(dlgTitle, text, pwrealm, savePW, defaultText, result) {
     var ret = Services.prompt.prompt(gProgressDialog ? gProgressDialog : window,
                                      dlgTitle, text, defaultText, pwrealm, savePWObj);
     if (!ret)
       setTimeout(CancelPublishing, 0);