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...
Created attachment 584537 [details] [diff] [review] Patch v1.0 Use Services.prompt.alert() 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.
Whiteboard: [good first bug]
Pushed: http://hg.mozilla.org/releases/comm-aurora/rev/04db92f7d627 http://hg.mozilla.org/releases/comm-beta/rev/6dc43d723766
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
status-seamonkey2.7: --- → fixed
status-seamonkey2.8: --- → fixed
status-seamonkey2.9: --- → fixed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.