update installation instructions and work around bug 226933

git-svn-id: svn://10.0.0.236/trunk@186077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
myk%mozilla.org 2005-12-14 21:49:00 +00:00
parent 7f47075302
commit d869da95f5
3 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,16 @@ can get via CPAN:
perl -MCPAN -e"install Template, AppConfig, File::Temp, Text::Diff, Email::Valid, MIME::Entity"
If you want to use the WYSIWYG editing capabilities of doctor, download
the htmlarea package (latest release or 3.0rc1) from the following site:
http://www.dynarch.com/projects/htmlarea/
Expand the package, then rename the directory it creates to "htmlarea"
and move it into the root directory of your web site. Finally, create
a symlink called "htmlarea" inside the doctor directory that points to
the "htmlarea" directory.
Then configure your web server to serve Doctor files correctly. See the
.htaccess file for an explanation of the configuration options, but note that
you should add the options to the global Apache configuration file if you have

View File

@ -68,6 +68,7 @@ body.new button.tab#originalTab, body.new button.tab#diffTab {
width: 98%;
height: 84%;
visibility: hidden;
display: none;
overflow: scroll;
}

View File

@ -103,6 +103,8 @@ function updateTabState() {
visibility = gActiveTab == "edit" || gActiveTab == "hack";
}
panel.style.visibility = visibility ? "visible" : "hidden";
// XXX We have to also toggle the "display" property because of bug 226933.
panel.style.display = visibility ? "block" : "none";
}
}