[sword-svn] r385 - trunk/webapp

scribe at crosswire.org scribe at crosswire.org
Thu Jan 20 22:38:04 MST 2011


Author: scribe
Date: 2011-01-20 22:38:04 -0700 (Thu, 20 Jan 2011)
New Revision: 385

Modified:
   trunk/webapp/swordweb.js
Log:
removed duplicate entry for strongs greek search if module was LXX


Modified: trunk/webapp/swordweb.js
===================================================================
--- trunk/webapp/swordweb.js	2010-11-02 17:37:48 UTC (rev 384)
+++ trunk/webapp/swordweb.js	2011-01-21 05:38:04 UTC (rev 385)
@@ -240,7 +240,7 @@
 						resultBody += "<dl>";
 						resultBody += "<dt><a href=\"wordsearchresults.jsp?mod="+srcMod+"&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\"><t:t>Search for </t:t>"+key+"<t:t> in </t:t>"+srcMod+"</a></dt>";
 						resultBody += "</dl>";
-						if (skeyPre == 'G') {
+						if (skeyPre == 'G' && srcMod != 'LXX') {
 							resultBody += "<dl>";
 							resultBody += "<dt><a href=\"wordsearchresults.jsp?mod=LXX&searchTerm=lemma:"+skeyPre+encodeURIComponent(key)+"&colorKey="+encodeURIComponent(key)+"&colorMorph="+encodeURIComponent(extratext)+"\"><t:t>Search for </t:t>"+key+"<t:t> in LXX</t:t></a></dt>";
 							resultBody += "</dl>";




More information about the sword-cvs mailing list