XHTML bugfixes

This commit is contained in:
Wouter van Oijen 2005-09-21 21:57:01 +00:00
parent 439e40dadf
commit 8243d36d3b
7 changed files with 11 additions and 7 deletions

View file

@ -217,6 +217,7 @@ sub getEditForm {
);
my $start = $self->getValue("startPoint");
$tabform->getTab("properties")->raw("<script type=\"text/javascript\">
//<![CDATA[
var displayNavDescendantEndPoint = true;
var displayNavAncestorEndPoint = true;
function toggleDescendantEndPoint () {
@ -248,6 +249,7 @@ sub getEditForm {
changeStartPoint();
".($descendantsChecked ? "" : "toggleDescendantEndPoint();")."
".($ancestorsChecked ? "" : "toggleAncestorEndPoint();")."
//]]>
</script>");
my $previewButton;# = qq{
# <INPUT TYPE="button" VALUE="Preview" NAME="preview"
@ -256,7 +258,7 @@ sub getEditForm {
# this.form.func.value='preview';
# this.form.target = 'navPreview';
# this.form.submit()">};
my $saveButton = ' <input type="button" value="'.WebGUI::International::get(62).'" onClick="
my $saveButton = ' <input type="button" value="'.WebGUI::International::get(62).'" onclick="
this.value=\''.WebGUI::International::get(452).'\';
this.form.func.value=\'editSave\';
this.form.target=\'_self\';