[sword-svn] r398 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Mon Jul 9 12:13:33 MST 2012
Author: scribe
Date: 2012-07-09 12:13:33 -0700 (Mon, 09 Jul 2012)
New Revision: 398
Modified:
trunk/webapp/fetchdata.jsp
trunk/webapp/swordweb.js
Log:
improved display of Textual Evidence. Show loading spinner
Modified: trunk/webapp/fetchdata.jsp
===================================================================
--- trunk/webapp/fetchdata.jsp 2012-07-07 16:45:56 UTC (rev 397)
+++ trunk/webapp/fetchdata.jsp 2012-07-09 19:13:33 UTC (rev 398)
@@ -75,10 +75,8 @@
</thead>
<tbody class="scrollContent">
<%
- int formCount = 0;
for (XMLBlock m : manuscripts.getBlocks("manuscript")) {
for (XMLBlock p : m.getBlock("pages").getBlocks("page")) {
- ++formCount;
String thumbURL = null;
String imageURL = null;
String transURL = null;
Modified: trunk/webapp/swordweb.js
===================================================================
--- trunk/webapp/swordweb.js 2012-07-07 16:45:56 UTC (rev 397)
+++ trunk/webapp/swordweb.js 2012-07-09 19:13:33 UTC (rev 398)
@@ -140,6 +140,7 @@
if (b!=null) {
c=document.getElementById(dm);
if (c!=null) {
+ c.innerHTML = '<center><image src="images/loading.gif"/></center><br/><center><h1>Loading. Please wait...</h1></center>';
xmlhttp.open("GET", "fetchdata.jsp?mod="+mod+"&key="+encodeURIComponent(extratext)+"&srcMod="+srcMod,true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
More information about the sword-cvs
mailing list