Changeset 3c5de0


Ignore:
Timestamp:
Nov 8, 2007, 4:15:27 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
3c928e
Parents:
80ebc9
Message:

changed to recognize also multiple whitespaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_addressBook.js

    r80ebc9 r3c5de0  
    389389        for (var row = 1; row <= top.MAX_RECIPIENTS; row ++) {
    390390            var recipientType = awGetPopupElement(row).selectedItem.getAttribute("value");
    391             if (recipientType == "addr_reply" || recipientType == "addr_followup" || awGetInputElement(row).value == "") continue;
     391            if (recipientType == "addr_reply" || recipientType == "addr_followup" ||
     392                awGetInputElement(row).value.match(/^\s*$/) ) continue;
    392393            if (recipients++ == 1) {
    393394                vI_addressBook.multipleRecipients = true
     395                vI_notificationBar.dump("## vI_addressBook: multiple recipients found.\n")
    394396                break;
    395397            }
Note: See TracChangeset for help on using the changeset viewer.