fixed a preview bug

This commit is contained in:
JT Smith 2004-03-06 17:24:10 +00:00
parent ea3111de6d
commit 2eb6c36a86

View file

@ -229,7 +229,13 @@ sub www_editNavigation {
this.form.op.value='previewNavigation';
this.form.target = 'navPreview';
this.form.submit()">};
$f->{_submit} = $previewButton." ".$f->{_submit};
my $saveButton = ' <input type="button" value="'.WebGUI::International::get(62).'" onClick="
this.value=\''.WebGUI::International::get(452).'\';
this.form.op.value=\'editNavigationSave\';
this.form.target=\'_self\';
this.form.submit();
" >';
$f->{_submit} = $previewButton." ".$saveButton;
$output .= $f->print;
return _submenu($output);
}