mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
backing the workaround out. it causes regressions.
This commit is contained in:
parent
ccb82cba9b
commit
8c994aadc2
@ -157,8 +157,7 @@ function _awSetInputAndPopup(inputValue, popupValue, parentNode, templateNode)
|
||||
//We need to set the value using both setAttribute and .value else we will
|
||||
// loose the content when the field is not visible. See bug 37435
|
||||
input[0].setAttribute("value", inputValue);
|
||||
//comment this out as a workaround for bug #41143
|
||||
//input[0].value = inputValue;
|
||||
input[0].value = inputValue;
|
||||
input[0].setAttribute("id", "msgRecipient#" + top.MAX_RECIPIENTS);
|
||||
}
|
||||
var select = newNode.getElementsByTagName(awSelectElementName());
|
||||
@ -259,8 +258,7 @@ function awAppendNewRow(setFocus)
|
||||
//We need to set the value using both setAttribute and .value else we will
|
||||
// loose the content when the field is not visible. See bug 37435
|
||||
input[0].setAttribute("value", "");
|
||||
//comment this out as a workaround for bug #41143
|
||||
//input[0].value = "";
|
||||
input[0].value = "";
|
||||
input[0].setAttribute("id", "msgRecipient#" + top.MAX_RECIPIENTS);
|
||||
}
|
||||
var select = newNode.getElementsByTagName(awSelectElementName());
|
||||
@ -538,4 +536,4 @@ function awDisableAutoComplete(rowNumber)
|
||||
inputElem = awGetInputElement(rowNumber);
|
||||
selectElem = awGetPopupElement(rowNumber);
|
||||
_awDisableAutoComplete(selectElem, inputElem)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user