mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-08 12:22:34 +00:00
bug 48742, change name of server for privacy tutorial, r=dveditz
This commit is contained in:
parent
c4303fad44
commit
ee1fe865c1
@ -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:
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user