Bug 8863: When clearing a patron attribute, they are all cleared
Signed-off-by: Marc Veron <veron@veron.ch> Tested with a set of 2 additional patron attributes. Cleard both before applying the patch. Cleared as expected after applying the patch. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
8308e2055a
commit
5a38631838
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
});
|
||||
|
||||
function clear_entry(node) {
|
||||
var original = node.parentNode.parentNode;
|
||||
var original = $(node).parent();
|
||||
$("textarea", original).attr('value', '');
|
||||
$("select", original).attr('value', '');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue