User:Attachment Reminder

From CDOT Wiki
Revision as of 13:48, 18 November 2008 by Cdpatel1 (talk | contribs) (Write Javascript Required to prompt to User)
Jump to: navigation, search

Project Name

Attachment Reminder

Project Description

Do you usually forget to attach the assignments in emails? If the answer is yes, you don't have to worry about that problem any more. Because I am working on the bug 244455. This bug reminds the user to attach the file when the user clicks the "send" button.

Project Leader(s)

Project Contributor(s)

Scott Lunel

Zaid Ghansar

Sidhdharth (Sid)

David Humphrey

Project Tasks

Find the Place Where Code should Go

When you click "Send" button, it goes to [[1]]. And, depending on the task, it calls sendMessage() and sendMessageLater().

In this case, sendMessage Function is going to be called which can be found at [[2]]

Write Javascript Required to prompt to User

var check = {value: false};

               var flags = gPromptService.BUTTON_POS_0 * gPromptService.BUTTON_TITLE_IS_STRING  +
                           gPromptService.BUTTON_POS_1 * gPromptService.BUTTON_TITLE_IS_STRING; 
               var button = gPromptService.confirmEx(null,
                                                     "Attachment Reminder",
                                                     "Did you forget to add an attachment?",
                                                     flags,
 	                                              "Oh, I did",
                                                     "No, Send Now",
                                                     null,
                                                     null,
                                                     check);

Add Functionality to add key Words By user

List OF Keywords

Attach*

PFA

PDF

Doc

Document

Slide

Presentation

File

Attached

zip

rar

Submit the Patch & Ask For Review

Project Details

Testing

Releases

0.2 Release

0.3 Release