[open-ils-commits] [GIT] Evergreen ILS branch master updated. ffafabde6a24eb05527e0b5ffadf381ad9399ee9

Evergreen Git git at git.evergreen-ils.org
Tue Apr 10 13:33:06 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, master has been updated
       via  ffafabde6a24eb05527e0b5ffadf381ad9399ee9 (commit)
      from  d4e4cb6526ca383844a2c09c85341082780d5d02 (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 ffafabde6a24eb05527e0b5ffadf381ad9399ee9
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>

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