[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 5c8d88ad61b434dc03bd912d6cd58ede3fc958e6
Evergreen Git
git at git.evergreen-ils.org
Tue Apr 10 13:33:39 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_2 has been updated
via 5c8d88ad61b434dc03bd912d6cd58ede3fc958e6 (commit)
from 5e33b7c1afcf509887dad2d2d8a8a1c76179b465 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5c8d88ad61b434dc03bd912d6cd58ede3fc958e6
Author: Jason Etheridge <jason at esilibrary.com>
Date: Tue Apr 10 12:57:16 2012 -0400
Fix bill selection in the billing interface
We were looking for the checkbox column to be the first treecell in a treerow,
but the ever-present line number column now takes up that position.
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js
index 5b98508..2507345 100644
--- a/Open-ILS/xul/staff_client/server/patron/bill2.js
+++ b/Open-ILS/xul/staff_client/server/patron/bill2.js
@@ -516,7 +516,7 @@ function init_lists() {
var treeItem = g.bill_list.node.contentView.getItemAtIndex(row.value);
if (treeItem.nodeName != 'treeitem') return;
var treeRow = treeItem.firstChild;
- var treeCell = treeRow.firstChild;
+ var treeCell = treeRow.firstChild.nextSibling;
if (g.check_map[ treeItem.getAttribute('retrieve_id') ] != (treeCell.getAttribute('value') == 'true')) {
g.check_map[ treeItem.getAttribute('retrieve_id') ] = treeCell.getAttribute('value') == 'true';
g.row_map[ treeItem.getAttribute('retrieve_id') ].row.my.checked = treeCell.getAttribute('value') == 'true';
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/xul/staff_client/server/patron/bill2.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list