1
=== modified file 'components/aboutHome.js'
2
--- ubufox/components/aboutHome.js 2010-04-09 13:17:27 +0000
3
+++ ubufox/components/aboutHome.js 2010-07-17 19:05:27 +0000
5
var HOMEPAGE_OFFLINE = "file:///usr/share/ubuntu-artwork/home/index.html";
6
var HOMEPAGE_OFFLINE_TMPL = "/usr/share/ubuntu-artwork/home/locales/index-"
8
-var HOMEPAGE_ONLINE_PREFIX = "http://start.ubuntu.com/10.04/";
9
+var HOMEPAGE_ONLINE_PREFIX = "http://start.ubuntu.com/10.04";
11
function getIsOffline() {
12
var ios = Cc["@mozilla.org/network/io-service;1"]
15
if (!getIsOffline()) {
16
let searchEngineName = getCurrentSearchEngineName();
17
- let channel = ios.newChannel(HOMEPAGE_ONLINE_PREFIX + "/" + searchEngineName + "/", null, null);
18
+ let uri = HOMEPAGE_ONLINE_PREFIX + "/" + searchEngineName + "/";
19
+ let channel = ios.newChannel(uri, null, null);
20
channel.originalURI = aURI;
21
channel.owner = principal;