[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1fefe2cecb464ea10ff4a2d0e673c2663bab086a
Evergreen Git
git at git.evergreen-ils.org
Tue Feb 18 03:29:46 EST 2014
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 1fefe2cecb464ea10ff4a2d0e673c2663bab086a (commit)
from 796ed67e12b1aa5cb88a8519e2e8228fbfa2726c (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 1fefe2cecb464ea10ff4a2d0e673c2663bab086a
Author: Jason Etheridge <jason at esilibrary.com>
Date: Fri Jan 24 17:51:45 2014 -0500
LP#1272575 Use getElementById over querySelector
Favor document.getElementById over document.querySelector for simple
by-id element referencing.
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
Signed-off-by: Jeff Godin <jgodin at tadl.org>
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index 5994633..0922a70 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -363,10 +363,10 @@ END;
[% ctx.results_count_header %]
</div>
<script>
-resultBlock = document.querySelector('#result_block');
-resultButton = document.querySelector('#return_to_hits');
-facetSidebar = document.querySelector('#facet_sidebar');
-facetButton = document.querySelector('#refine_hits');
+resultBlock = document.getElementById('result_block');
+resultButton = document.getElementById('return_to_hits');
+facetSidebar = document.getElementById('facet_sidebar');
+facetButton = document.getElementById('refine_hits');
function getFacety() {
resultBlock.setAttribute('class', 'result_block_hidden');
resultButton.setAttribute('class', 'results_header_btns result_block_visible');
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/result/table.tt2 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list