Changeset 677
- Timestamp:
- 03/14/08 03:39:49 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/config-service/src/chrome/chromeFiles/content/browser.js
r663 r677 231 231 this.scriptDownloader_ = scriptDownloader; 232 232 233 var tab = this.tabBrowser.addTab(scriptDownloader.script. urlToDownload);233 var tab = this.tabBrowser.addTab(scriptDownloader.script.previewUrl); 234 234 var browser = this.tabBrowser.getBrowserForTab(tab); 235 235 branches/config-service/src/chrome/chromeFiles/content/config.js
r676 r677 502 502 503 503 get urlToDownload() { return this._downloadUrl; }, 504 setDownloadedFile: function(file) { this._tempFile = file; } 504 setDownloadedFile: function(file) { this._tempFile = file; }, 505 506 get previewUrl() { 507 return Components.classes["@mozilla.org/network/io-service;1"] 508 .getService(Components.interfaces.nsIIOService) 509 .newFileURI(this._tempFile).spec; 510 } 505 511 }; 506 512
