Closed Bug 713563 Opened 8 years ago Closed 8 years ago
Prompt Service is not defined trying to add empty contact from sidebar
Steps to reproduce problem: 1. Compose a message 2. Open the Address Book sidebar 3. Select a contact without an email address 4. Try to add the contact to the message Actual result: Nothing happens. Expected result: The same alert as you get in the Select Addresses dialog. When I copied the code from the Select Addresses dialog to the address book panel I forgot to copy the gPromptService variable...
Should be able to use Services.prompt.alert() now with Bug 671554 (Switch suite/mailnews to use Services.prompt)
Oops I filed Bug 713671 (addressingWidgetOverlay.js uses non-existent gPromptService). Patches attached to that bug.
(In reply to Philip Chee from comment #2) > Oops I filed Bug 713671 (addressingWidgetOverlay.js uses non-existent > gPromptService). Patches attached to that bug. But not really relevant here though...
Services is available from utilityOverlay.js.
Assignee: nobody → philip.chee
Status: NEW → ASSIGNED
Attachment #584537 - Flags: review?(neil)
Attachment #584537 - Flags: review?(neil) → review+
Pushed to comm-central (finally IT fixed my c-c perms!) http://hg.mozilla.org/comm-central/rev/5a6fd97bbd45
Target Milestone: --- → seamonkey2.9
Comment on attachment 584537 [details] [diff] [review] Patch v1.0 Use Services.prompt.alert() Sort of regression fix.
You need to log in before you can comment on or make changes to this bug.