[open-ils-commits] r737 - conifer/trunk/web/opac/skin/uwin/xml/common (gliu)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 1 23:20:24 EST 2009
Author: gliu
Date: 2009-12-01 23:20:22 -0500 (Tue, 01 Dec 2009)
New Revision: 737
Modified:
conifer/trunk/web/opac/skin/uwin/xml/common/sidebar.xml
Log:
this is a fix for sidebar javascript crashes
Modified: conifer/trunk/web/opac/skin/uwin/xml/common/sidebar.xml
===================================================================
--- conifer/trunk/web/opac/skin/uwin/xml/common/sidebar.xml 2009-12-01 20:22:35 UTC (rev 736)
+++ conifer/trunk/web/opac/skin/uwin/xml/common/sidebar.xml 2009-12-02 04:20:22 UTC (rev 737)
@@ -60,8 +60,14 @@
</div>
</div>
-<!-- relevant subjects/authors/series commented out, cause they just don't work
+<!-- As commenting out relevant subjects/authors/series divs causes some javascipt crashes
+because subjectSidebarTree in not defined in uwin_test/js/sidebar_extra.js and uwin_test/js/sidebar.js files,
+created a new div: <div id='subject_tree_sidebar_no_display'>, uncommented above mentioned divs,
+moved them into this new div and hided it, problem solved *** GL *** -->
+ <!-- relevant subjects/authors/series commented out, cause they just don't work -->
+
+<div id='subject_tree_sidebar_no_display' class='hide_me' style='margin-top: 12px;'>
<div id='subject_tree_sidebar' class='sidebar_chunk hide_me' style='margin-top: 12px;'>
<div id='subject_sidebar_tree_div'> </div>
<script language='javascript' type='text/javascript'>
@@ -106,7 +112,8 @@
'"seriesSidebarTreeRoot");');
</script>
</div>
- -->
+</div>
+
<div id='adv_quick_search_sidebar' class='sidebar_chunk hide_me'
style='text-align:center; margin-top: 20px;'>
<hr/>
More information about the open-ils-commits
mailing list