From 0ff320b47bbb61d1966c59e4fc6e59a5d9e8a940 Mon Sep 17 00:00:00 2001 From: "cmp%mozilla.org" Date: Tue, 30 Nov 2004 23:25:18 +0000 Subject: [PATCH] Create a WYSIWYG-style textarea in the preview instead of a
 area that will then be used as the resulting save-as text.

git-svn-id: svn://10.0.0.236/trunk@165972 18797224-902f-48f8-a5cc-f745e15eee43
---
 mozilla/webtools/build/config.cgi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/mozilla/webtools/build/config.cgi b/mozilla/webtools/build/config.cgi
index 47e11fcd87b..e195e8098e6 100755
--- a/mozilla/webtools/build/config.cgi
+++ b/mozilla/webtools/build/config.cgi
@@ -68,7 +68,7 @@ if ($query->param()) {
     exit 0;
   } elsif ($query->param(saveas) eq "1") {
     print "Content-type: text/saveas\n\n";
-    print print_script();
+    print $query->param(code-to-save);
     exit 0;
   }
 }
@@ -117,6 +117,7 @@ sub print_script_preview {
       
       
       
+      
     
     
 
@@ -143,8 +144,11 @@ sub print_script_preview {
   my $script = &print_script;
 
       print qq(
+
   
+