зеркало из https://github.com/mozilla/pjs.git
"fix" for regression bug #190153.
clicking in addressing widget (in reply or edit mailing list dialog) duplicates the first address. regression caused by the band-aid for #90337. thanks to neil for this patch. r/sr=sspitzer,a=blizzard
This commit is contained in:
Родитель
3ad37f6995
Коммит
3823ba35f6
|
@ -444,6 +444,10 @@ function awAppendNewRow(setFocus)
|
|||
if ( input && input.length == 1 )
|
||||
{
|
||||
input[0].setAttribute("value", "");
|
||||
// XXX TODO
|
||||
// band-aid for bug #190153 which was caused by a
|
||||
// band-aid for #90337
|
||||
input[0].value = "";
|
||||
input[0].setAttribute("id", "addressCol1#" + top.MAX_RECIPIENTS);
|
||||
|
||||
if (input[0].getAttribute('focused') != '')
|
||||
|
|
|
@ -541,6 +541,10 @@ function awAppendNewRow(setFocus)
|
|||
if ( input && input.length == 1 )
|
||||
{
|
||||
input[0].setAttribute("value", "");
|
||||
// XXX TODO
|
||||
// band-aid for bug #190153 which was caused by a
|
||||
// band-aid for #90337
|
||||
input[0].value = "";
|
||||
input[0].setAttribute("id", "addressCol2#" + top.MAX_RECIPIENTS);
|
||||
|
||||
//this copies the autocomplete sessions list from recipient#1
|
||||
|
|
Загрузка…
Ссылка в новой задаче