[gen] Minor improvements.
This commit is contained in:
parent
636def8d24
commit
9cccdebe24
4 changed files with 21 additions and 8 deletions
|
@ -803,6 +803,7 @@ function askConfirm(actionType, action, msg, showComment) {
|
|||
var confirmForm = document.getElementById('confirmActionForm');
|
||||
confirmForm.actionType.value = actionType;
|
||||
confirmForm.action.value = action;
|
||||
if (!msg) msg = action_confirm;
|
||||
var commentArea = document.getElementById('commentArea');
|
||||
if (showComment) commentArea.style.display = 'block';
|
||||
else commentArea.style.display = 'none';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue