[Zope-CVS] CVS: Packages/Moztop/moztop/content - moztop.js:1.10

Sidnei da Silva sidnei@x3ng.com.br
Thu, 16 Jan 2003 09:52:23 -0500


Update of /cvs-repository/Packages/Moztop/moztop/content
In directory cvs.zope.org:/tmp/cvs-serv631/moztop/content

Modified Files:
	moztop.js 
Log Message:
better about window

=== Packages/Moztop/moztop/content/moztop.js 1.9 => 1.10 ===
--- Packages/Moztop/moztop/content/moztop.js:1.9	Thu Jan 16 01:20:57 2003
+++ Packages/Moztop/moztop/content/moztop.js	Thu Jan 16 09:51:51 2003
@@ -33,10 +33,8 @@
 
 /* Function to generate the 'About Moztop' Dialog. */
 function showAbout() {
-    info = alert('Moztop - An IDE for Zope 3\n\n' +
-	  'MoZTop is an alternative IDE to the one that is being ' +
-          'developed in HTML. It offers many advantages that come ' +
-	  'with a true application.')
+    info = window.openDialog("chrome://moztop/content/About/dialog.xul",
+           "showmore", "chrome,width=400,height=300");
 }
 
 /* Function to generate the 'About Moztop' Dialog. */