This commit is contained in:
dougt%netscape.com 2006-07-29 05:37:11 +00:00
Родитель 625d507df2
Коммит df9e817cc1
1 изменённых файлов: 3 добавлений и 4 удалений

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

@ -677,10 +677,9 @@ nsContextMenu.prototype = {
// Construct nsIURL. // Construct nsIURL.
var ioService = Components.classes["@mozilla.org/network/io-service;1"] var ioService = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService); .getService(Components.interfaces.nsIIOService);
var uriToAdd = ioService.newURI(base, null); var baseURI = ioService.newURI(base, null);
// Resolve
var result = baseURL.resolve( url ); return ioService.newURI(baseURI.resolve(url), null);
return result;
}, },
// Save specified URL in user-selected file. // Save specified URL in user-selected file.
savePage : function ( url, doNotValidate ) { savePage : function ( url, doNotValidate ) {