зеркало из https://github.com/mozilla/pjs.git
stop gap fix for #37202
This commit is contained in:
Родитель
cd173af5c6
Коммит
996dac71a1
|
@ -62,7 +62,14 @@ function Recipients2CompFields(msgCompFields)
|
|||
fieldValue = inputField.value;
|
||||
if (fieldValue != "")
|
||||
{
|
||||
switch (awGetPopupElement(i).selectedItem.getAttribute("data"))
|
||||
var data = "addr_to";
|
||||
try {
|
||||
data = awGetPopupElement(i).selectedItem.getAttribute("data");
|
||||
}
|
||||
catch (ex) {
|
||||
dump("failed: " + ex + "\n");
|
||||
}
|
||||
switch (data)
|
||||
{
|
||||
case "addr_to" : addrTo += to_Sep + fieldValue; to_Sep = ","; break;
|
||||
case "addr_cc" : addrCc += cc_Sep + fieldValue; cc_Sep = ","; break;
|
||||
|
@ -411,4 +418,4 @@ function awTabFromRecipient(element, event)
|
|||
function awGetNumberOfRecipients()
|
||||
{
|
||||
return top.MAX_RECIPIENTS;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче