mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
93857 - Both 'To:' and 'Bcc:' options simultaneously checked in composition window, r=varada, sr=mscott
This commit is contained in:
parent
6cbfd02463
commit
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user