Commit 9a8dfdae authored by delanoe's avatar delanoe

[CSS] Fix views and accordion button becomes a title.

parent d0c7abba
...@@ -87,8 +87,8 @@ function Final_UpdateTable( action ) { ...@@ -87,8 +87,8 @@ function Final_UpdateTable( action ) {
var UpdateTable = false var UpdateTable = false
if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) { if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) {
UpdateTable = true; UpdateTable = true;
$("#corpusdisplayer").html("Close Folder") $("#corpusdisplayer").html("View by titles")
} else $("#corpusdisplayer").html("Open Folder") } else $("#corpusdisplayer").html("View by titles")
pr("update table??: "+UpdateTable) pr("update table??: "+UpdateTable)
......
...@@ -113,7 +113,7 @@ function Final_UpdateTable( action ) { ...@@ -113,7 +113,7 @@ function Final_UpdateTable( action ) {
if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) { if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) {
UpdateTable = true; UpdateTable = true;
$("#corpusdisplayer").html("Close Folder") $("#corpusdisplayer").html("Close Folder")
} else $("#corpusdisplayer").html("Open Folder") } else $("#corpusdisplayer").html("View by journals")
pr("update table??: "+UpdateTable) pr("update table??: "+UpdateTable)
......
...@@ -334,7 +334,7 @@ function Final_UpdateTable( action ) { ...@@ -334,7 +334,7 @@ function Final_UpdateTable( action ) {
if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) { if ( (action == "click" && !isCollapsed) || (action=="changerange" && isCollapsed) ) {
UpdateTable = true; UpdateTable = true;
$("#corpusdisplayer").html("Close Term List") $("#corpusdisplayer").html("Close Term List")
} else $("#corpusdisplayer").html("Show Term List") } else $("#corpusdisplayer").html("View by terms")
pr("update table??: "+UpdateTable) pr("update table??: "+UpdateTable)
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<h4 class="panel-title"> <h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
<!-- Final_UpdateTable redraws the dynatable if necessary --> <!-- Final_UpdateTable redraws the dynatable if necessary -->
<p id="corpusdisplayer" onclick='Final_UpdateTable("click")' class="btn btn-primary btn-lg"> Journals <p id="corpusdisplayer" onclick='Final_UpdateTable("click")' class="btn btn-primary btn-lg">Journals
</p> </p>
</a> </a>
</h4> </h4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment