bug 48742, change name of server for privacy tutorial, r=dveditz

This commit is contained in:
morse%netscape.com 2000-08-18 05:49:59 +00:00
parent c4303fad44
commit ee1fe865c1
2 changed files with 8 additions and 6 deletions

View File

@ -385,7 +385,8 @@ function WalletDialog( which )
break;
case "tutorial":
server = this.pref.getLocalizedUnicharPref("wallet.Samples");
window._content.location.href = server + 'privacy.html';
window._content.location.href = 'http://www.mozilla.org/wallet/samples/privacy.html';
// window._content.location.href = server + 'privacy.html';
break;
case "wallet":
default:

View File

@ -47,12 +47,13 @@
function viewTutorial()
{
pref = Components.classes['component://netscape/preferences'];
pref = pref.getService();
pref = pref.QueryInterface(Components.interfaces.nsIPref);
server = pref.getLocalizedUnicharPref("wallet.Samples");
// pref = Components.classes['component://netscape/preferences'];
// pref = pref.getService();
// pref = pref.QueryInterface(Components.interfaces.nsIPref);
// server = pref.getLocalizedUnicharPref("wallet.Samples");
window.openDialog
(server+"privacy.html","","modal=yes,chrome,resizable=yes,height=400,width=600", 0);
// (server+"privacy.html","","modal=yes,chrome,resizable=yes,height=400,width=600", 0);
("http://www.mozilla.org/wallet/samples/privacy.html","","modal=yes,chrome,resizable=yes,height=400,width=600", 0);
}