Bug 6949: cannot remove owner from fund
The Javascript to remove an owner from a budget cleared the name from the screen, but did not remove the actual value in the form, so when saving, the original owner was retained. This patch adds the command to set the value to ''. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> I could reproduce the bug on current master. Patch fixes the problem, fund owners can now be added and removed without any problems. Thx for providing a test plan! Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
5faaa7f13a
commit
9c84f38b34
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
function ownerRemove(f) {
|
||||
document.getElementById('budget_owner_name').innerHTML = '';
|
||||
document.getElementById('budget_owner_id').value = '';
|
||||
}
|
||||
|
||||
function Check(f) {
|
||||
|
|
Loading…
Reference in a new issue