Re: Release and Whitelist: How about an 'Are You Sure?' confirmation

"Peter Pepper" <[email protected]>
Newsgroups gmane.mail.spam.spamcop.email
Organization spamHandler.com
Message-ID <[email protected]>
"Peter Pepper" <[email protected]> wrote in message
news:[email protected]...
> SC has a confirmation dialog for submitting spam. Why doesn't it have the
> same confirmation for releasing and whitelisting?
>
> Please implement an 'Are You Sure?' confirmation dialog for releasing and
> whitelisting.
>

Geez, you want something done, you gotta do it yourself.

Here's the code. Now implement it...

function Submit(actID)
{
    if (actID == 'spam_report') {
       if (!window.confirm('Are you sure you wish to report this message as
spam?')) {
              return;
       }
    }

// START NEW CODE

    else if (actID == 'sc_relwhite') {
       if (!window.confirm('Are you sure you wish to release and whitelist
the selected message(s)?')) {
              return;
       }
    }

// END NEW CODE

    if (AnySelected()) {
        document.messages.actionID.value = actID;
        document.messages.submit();
    } else {
        window.alert('You must select at least one message first.');
    }
}


PP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.