[gen] Bugfix: name clash when a transition is named 'comment'. [gen] Added AbstractWrapper::getHistoryComments allowing to collect comments of all history events of some type.
This commit is contained in:
parent
cf0309cb26
commit
424c0521de
4 changed files with 22 additions and 10 deletions
|
@ -989,11 +989,11 @@ function askConfirm(actionType, action, msg, showComment) {
|
|||
|
||||
// Transfer comment from the confirm form to some other form
|
||||
function transferComment(confirmForm, targetForm) {
|
||||
if ((confirmForm.comment.style.display != 'none') &&
|
||||
(confirmForm.comment.value)) {
|
||||
targetForm.comment.value = confirmForm.comment.value;
|
||||
if ((confirmForm.popupComment.style.display != 'none') &&
|
||||
(confirmForm.popupComment.value)) {
|
||||
targetForm.popupComment.value = confirmForm.popupComment.value;
|
||||
// Clean the confirm form
|
||||
confirmForm.comment.value = '';
|
||||
confirmForm.popupComment.value = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue