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:
Fridolyn SOMERS 2012-10-02 16:30:48 +02:00 committed by Paul Poulain
parent 8308e2055a
commit 5a38631838

View file

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