[Zope-CVS] CVS: Packages/Moztop/moztop/content/Menu - connection-wizard.js:1.2 connection-wizard.xul:1.2
Paul Everitt
paul@zope.com
Fri, 7 Feb 2003 10:28:45 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/Menu
In directory cvs.zope.org:/tmp/cvs-serv18002/content/Menu
Modified Files:
connection-wizard.js connection-wizard.xul
Log Message:
another try
=== Packages/Moztop/moztop/content/Menu/connection-wizard.js 1.1 => 1.2 ===
--- Packages/Moztop/moztop/content/Menu/connection-wizard.js:1.1 Fri Feb 7 06:34:06 2003
+++ Packages/Moztop/moztop/content/Menu/connection-wizard.js Fri Feb 7 10:28:44 2003
@@ -21,9 +21,13 @@
function createSite() {
// The sitesds was passed in as an argument
- var sitesds = window.arguments[0];
+ // var sitesds = window.arguments[0];
- /* Setting up variables */
+ var prefsdir = getProfileURL();
+ sitesds = new RDFDataSource(prefsdir + "/moztop_sites.rdf");
+ typesds = new RDFDataSource(prefsdir + "/moztop_types.rdf");
+
+ /* Setting up variables */
var newsite_name = document.getElementById("newsite_name").value;
var newsite_url = document.getElementById("newsite_url").value;
var newsite_username = document.getElementById("newsite_username").value;
=== Packages/Moztop/moztop/content/Menu/connection-wizard.xul 1.1 => 1.2 ===
--- Packages/Moztop/moztop/content/Menu/connection-wizard.xul:1.1 Fri Feb 7 06:34:06 2003
+++ Packages/Moztop/moztop/content/Menu/connection-wizard.xul Fri Feb 7 10:28:44 2003
@@ -7,9 +7,10 @@
onwizardfinish="return createSite();"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <script type="application/x-javascript" src="global.js"/>
- <script type="application/x-javascript" src="rdfds.js"/>
- <script type="application/x-javascript" src="connection-wizard.js"/>
+ <script src="chrome://moztop/content/global.js"/>
+ <script src="chrome://moztop/content/moztop.js"/>
+ <script src="chrome://moztop/content/rdfds.js"/>
+ <script src="connection-wizard.js"/>
<script src="chrome://moztop/content/Explorer/Explorer.js"/>
<wizardpage>