From 3a2e9d425faeb63f7929b977663229161ad0ee78 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 3 Jan 2011 11:19:18 -0500 Subject: [PATCH] Remove old onchange attribute --- js/tbl_change.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/tbl_change.js b/js/tbl_change.js index ed13f38cf..736317d09 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -388,6 +388,9 @@ $(document).ready(function() { $this_element .attr('value', '') .unbind('change') + // Remove onchange attribute that was placed + // by tbl_change.php; it refers to the wrong row index + .attr('onchange', null) // Keep these values to be used when the element // will change .data('hashed_field', hashed_field)