Provide the selected identity key as the autocomplete search parameter b=370306 r=Standard8 sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@252299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
489d8ded57
commit
2ecb4131de
@ -2937,6 +2937,9 @@ function LoadIdentity(startup)
|
||||
if (identityElement.selectedItem)
|
||||
identityElement.setAttribute('accountname', identityElement.selectedItem.getAttribute('accountname'));
|
||||
|
||||
for (var i = 1; i <= awGetMaxRecipients(); i++)
|
||||
awGetInputElement(i).setAttribute("autocompletesearchparam", idKey);
|
||||
|
||||
if (!startup && prevIdentity && idKey != prevIdentity.key)
|
||||
{
|
||||
var prefstring = "mail.identity." + prevIdentity.key;
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
top.MAX_RECIPIENTS = 0;
|
||||
top.MAX_RECIPIENTS = 1; /* for the initial listitem created in the XUL */
|
||||
|
||||
var inputElementType = "";
|
||||
var selectElementType = "";
|
||||
|
||||
@ -2853,6 +2853,9 @@ function LoadIdentity(startup)
|
||||
var idKey = identityElement.value;
|
||||
gCurrentIdentity = gAccountManager.getIdentity(idKey);
|
||||
|
||||
for (var i = 1; i <= awGetMaxRecipients(); i++)
|
||||
awGetInputElement(i).setAttribute("autocompletesearchparam", idKey);
|
||||
|
||||
if (!startup && prevIdentity && idKey != prevIdentity.key)
|
||||
{
|
||||
var prefstring = "mail.identity." + prevIdentity.key;
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
top.MAX_RECIPIENTS = 0;
|
||||
top.MAX_RECIPIENTS = 1; /* for the initial listitem created in the XUL */
|
||||
|
||||
var inputElementType = "";
|
||||
var selectElementType = "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user