зеркало из https://github.com/mozilla/gecko-dev.git
93857 - Both 'To:' and 'Bcc:' options simultaneously checked in composition window, r=varada, sr=mscott
This commit is contained in:
Родитель
6cbfd02463
Коммит
7b84625e46
|
@ -46,9 +46,14 @@
|
|||
<body>
|
||||
<![CDATA[
|
||||
this.setAttribute('sizetopopup', 'true');
|
||||
|
||||
// if there was a previously selected item, be sure to set our internal
|
||||
// selection memory to that item so we can un-set it properly later on
|
||||
var arr = this.firstChild.getElementsByAttribute('selected', 'true');
|
||||
if (arr.length)
|
||||
this.selectedInternal = arr[0];
|
||||
|
||||
if (!this.label && this.childNodes.length) {
|
||||
var arr = this.firstChild.getElementsByAttribute('selected', 'true');
|
||||
|
||||
if (!arr.length && this.value)
|
||||
arr = this.firstChild.getElementsByAttribute('value', this.value);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче