XHTML bugfixes
This commit is contained in:
parent
439e40dadf
commit
8243d36d3b
7 changed files with 11 additions and 7 deletions
|
|
@ -198,8 +198,8 @@ sub getEditForm {
|
|||
-size=>7,
|
||||
-value=>$self->getValue($highlight),
|
||||
-subtext=>qq{
|
||||
<A HREF="#" onClick="cp.select($highlight,'$highlight');
|
||||
return false;" NAME="$highlight" ID="$highlight">Pick</A>}
|
||||
<a href="#" onclick="cp.select($highlight,'$highlight');
|
||||
return false;" name="$highlight" id="$highlight">Pick</a>}
|
||||
);
|
||||
}
|
||||
return $tabform;
|
||||
|
|
|
|||
|
|
@ -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\';
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ sub getEditForm {
|
|||
if ($nr < 5 and ($self->get("dbQuery".($nr+1)) eq "" || ($self->get("dbQuery".($nr)) eq "" and $self->get("dbQuery".($nr+1)) ne ""))) {
|
||||
$tabform->getTab("properties")->button(
|
||||
-value=>WebGUI::International::get('Add another query',"Asset_SQLReport"),
|
||||
-extras=>'onClick="toggleQuery(\''.($nr+1).'\'); this.style.display=\'none\';"',
|
||||
-extras=>'onclick="toggleQuery(\''.($nr+1).'\'); this.style.display=\'none\';"',
|
||||
-noWait=>1
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue