[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:
Gaetan Delannay 2015-03-15 22:08:41 +01:00
parent cf0309cb26
commit 424c0521de
4 changed files with 22 additions and 10 deletions

View file

@ -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 = '';
}
}