This commit is contained in:
alecf%netscape.com 2000-06-07 01:00:05 +00:00
Родитель 7bd6460a1c
Коммит 672b82ae82
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -27,7 +27,7 @@
//mailCommands.js or into 3pane specific code. //mailCommands.js or into 3pane specific code.
var gBeforeFolderLoadTime; var gBeforeFolderLoadTime;
var gRDFNamespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
function OpenURL(url) function OpenURL(url)
{ {
dump("\n\nOpenURL from XUL\n\n\n"); dump("\n\nOpenURL from XUL\n\n\n");
@ -244,14 +244,14 @@ function SetSentFolderColumns(isSentFolder)
senderColumn.setAttribute("value", Bundle.GetStringFromName("recipientColumnHeader")); senderColumn.setAttribute("value", Bundle.GetStringFromName("recipientColumnHeader"));
senderColumn.setAttribute("onclick", "return top.MsgSortByRecipient();"); senderColumn.setAttribute("onclick", "return top.MsgSortByRecipient();");
senderColumnTemplate.setAttribute("value", "rdf:http://home.netscape.com/NC-rdf#Recipient"); 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 else
{ {
senderColumn.setAttribute("value", Bundle.GetStringFromName("senderColumnHeader")); senderColumn.setAttribute("value", Bundle.GetStringFromName("senderColumnHeader"));
senderColumn.setAttribute("onclick", "return top.MsgSortBySender();"); senderColumn.setAttribute("onclick", "return top.MsgSortBySender();");
senderColumnTemplate.setAttribute("value", "rdf:http://home.netscape.com/NC-rdf#Sender"); 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 try
{ {
if(secondarySortKey) if(secondarySortKey)
node.setAttribute('rdf:resource2', secondarySortKey); node.setAttributeNS(gRDFNamespace, 'resource2', secondarySortKey);
xulSortService.Sort(node, sortKey, sortDirection); xulSortService.Sort(node, sortKey, sortDirection);
} }
catch(e) catch(e)

Просмотреть файл

@ -81,3 +81,5 @@ sentFolderName=Sent
draftsFolderName=Drafts draftsFolderName=Drafts
templatesFolderName=Templates templatesFolderName=Templates
unsentFolderName=Unsent Messages unsentFolderName=Unsent Messages
test1=The string (%S) is here!