зеркало из https://github.com/mozilla/pjs.git
fix for #40594, switch to DOM2
This commit is contained in:
Родитель
7bd6460a1c
Коммит
672b82ae82
|
@ -27,7 +27,7 @@
|
|||
//mailCommands.js or into 3pane specific code.
|
||||
|
||||
var gBeforeFolderLoadTime;
|
||||
|
||||
var gRDFNamespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
||||
function OpenURL(url)
|
||||
{
|
||||
dump("\n\nOpenURL from XUL\n\n\n");
|
||||
|
@ -244,14 +244,14 @@ function SetSentFolderColumns(isSentFolder)
|
|||
senderColumn.setAttribute("value", Bundle.GetStringFromName("recipientColumnHeader"));
|
||||
senderColumn.setAttribute("onclick", "return top.MsgSortByRecipient();");
|
||||
senderColumnTemplate.setAttribute("value", "rdf:http://home.netscape.com/NC-rdf#Recipient");
|
||||
authorColumnHeader.setAttribute("rdf:resource", "http://home.netscape.com/NC-rdf#Recipient");
|
||||
authorColumnHeader.setAttributeNS(gRDFNamespace, "resource", "http://home.netscape.com/NC-rdf#Recipient");
|
||||
}
|
||||
else
|
||||
{
|
||||
senderColumn.setAttribute("value", Bundle.GetStringFromName("senderColumnHeader"));
|
||||
senderColumn.setAttribute("onclick", "return top.MsgSortBySender();");
|
||||
senderColumnTemplate.setAttribute("value", "rdf:http://home.netscape.com/NC-rdf#Sender");
|
||||
authorColumnHeader.setAttribute("rdf:resource", "http://home.netscape.com/NC-rdf#Sender");
|
||||
authorColumnHeader.setAttributeNS(gRDFNamespace, "resource", "http://home.netscape.com/NC-rdf#Sender");
|
||||
}
|
||||
|
||||
|
||||
|
@ -445,7 +445,7 @@ function SortColumn(node, sortKey, secondarySortKey, direction)
|
|||
try
|
||||
{
|
||||
if(secondarySortKey)
|
||||
node.setAttribute('rdf:resource2', secondarySortKey);
|
||||
node.setAttributeNS(gRDFNamespace, 'resource2', secondarySortKey);
|
||||
xulSortService.Sort(node, sortKey, sortDirection);
|
||||
}
|
||||
catch(e)
|
||||
|
|
|
@ -81,3 +81,5 @@ sentFolderName=Sent
|
|||
draftsFolderName=Drafts
|
||||
templatesFolderName=Templates
|
||||
unsentFolderName=Unsent Messages
|
||||
|
||||
test1=The string (%S) is here!
|
||||
|
|
Загрузка…
Ссылка в новой задаче