Changeset 955
- Timestamp:
- 2008-04-26 15:31:00 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/serverswitcher/chrome/content/paneServerSwitcher.js
r953 r955 55 55 let c = {}; 56 56 let limits = Preferences._pref.getChildList(SSW_PREF_LIMITS, c); 57 limits.sort(); 57 58 58 59 for (let i = 0; i < c.value; ++i) { … … 98 99 if (ps.prompt(window, _('ssw.new.caption'), _('ssw.new.desc'), rv, null, {}) && rv.value) { 99 100 let fs = Cc['@mozilla.org/docshell/urifixup;1'].getService(Ci.nsIURIFixup); 100 rv = this.getHost(fs.createFixupURI(rv.value, 0x0).host);101 rv = SSW_getBaseDomain(fs.createFixupURI(rv.value, 0x0)); 101 102 Preferences.set(SSW_PREF_LIMITS + rv, 2); 102 103 this._load(rv);
