fix resurrect links

Cette révision appartient à :
Anthony Lieuallen 2006-08-25 00:44:49 +00:00
Parent 96a9f6a2dd
révision 57ebdcc62e
2 fichiers modifiés avec 6 ajouts et 10 suppressions

Voir le fichier

@ -93,7 +93,8 @@ var resurrect={
window.openDialog(
'chrome://resurrect/content/resurrect-select-mirror.xul',
'_blank',
'modal,centerscreen,resizable=no,chrome,dependent'
'modal,centerscreen,resizable=no,chrome,dependent',
getBrowser().contentWindow.document, url
);
},
@ -105,15 +106,10 @@ var resurrect={
// find the content document -- this depends on whether we are
// living inline in the netError page
var contentDoc;
if (window.opener && window.opener.resurrect) {
contentDoc=window.opener.resurrect.originalDoc;
} else {
contentDoc=window.getBrowser().contentWindow.document;
}
var contentDoc=window.arguments[0];
var gotoUrl=null;
var rawUrl=contentDoc.location.href;
var rawUrl=window.arguments[1];
var encUrl=encodeURIComponent(rawUrl);
switch (listbox.value) {

Voir le fichier

@ -1,8 +1,8 @@
<!ENTITY resurrect.title "Resurrect">
<!ENTITY resurrect.accesskey "u">
<!ENTITY resurrect.this "Resurrect this">
<!ENTITY resurrect.thispage "Resurrect this page">
<!ENTITY resurrect.thislink "Resurrect this link">
<!ENTITY resurrect.thispage "Resurrect this page...">
<!ENTITY resurrect.thislink "Resurrect this link...">
<!ENTITY resurrect.fromMirror "From mirror">
<!ENTITY resurrect.coralcdn "CoralCDN">