Add a cancel button to the Matrix Listing form.
This commit is contained in:
parent
20131cf130
commit
e25d605ccc
2 changed files with 10 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
- fixed #9820: Survey: political party spelled wrong
|
- fixed #9820: Survey: political party spelled wrong
|
||||||
- fixed #9819: Survey: hoverhelp showing instead of field name
|
- fixed #9819: Survey: hoverhelp showing instead of field name
|
||||||
- fixed #9822: Matrix: Wrong field label
|
- fixed #9822: Matrix: Wrong field label
|
||||||
|
- fixed #9823: Matrix: no cancel button in add/edit listing
|
||||||
|
|
||||||
7.6.13
|
7.6.13
|
||||||
- fixed AdSpace bug: impressions and clicks for most non-human web clients will not be counted.
|
- fixed AdSpace bug: impressions and clicks for most non-human web clients will not be counted.
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,15 @@ sub getEditForm {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$form->submit();
|
$form->raw(
|
||||||
|
'<tr><td COLSPAN=2>'.
|
||||||
|
WebGUI::Form::Button($session, {}).
|
||||||
|
WebGUI::Form::Button($session, {
|
||||||
|
-value => $i18n->get('cancel', 'WebGUI'),
|
||||||
|
-extras => q|onclick="history.go(-1);" class="backwardButton"|
|
||||||
|
}).
|
||||||
|
'</td></tr>'
|
||||||
|
);
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue