[open-ils-commits] r10849 - trunk/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 16 14:37:21 EDT 2008


Author: phasefx
Date: 2008-10-16 14:37:18 -0400 (Thu, 16 Oct 2008)
New Revision: 10849

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
Log:
use the xul service row for native-evergreen-catalog since it's I18N'ized

Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js	2008-10-16 18:10:40 UTC (rev 10848)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js	2008-10-16 18:37:18 UTC (rev 10849)
@@ -312,6 +312,7 @@
                                         var x = document.getElementById('service_rows');
 										for (var i in obj.services) {
                                             try {
+                                                if (i == 'native-evergreen-catalog') continue;
                                                 var r = document.createElement('row'); x.appendChild(r);
                                                 var cb = document.createElement('checkbox'); 
                                                     if (obj.services[i].label) {
@@ -337,7 +338,7 @@
                                                 alert(E);
                                             }
                                         }
-                                        obj.services[ 'native-evergreen-catalog' ] = { 'attrs' : { 'author' : {}, 'title' : {} } };
+                                        //obj.services[ 'native-evergreen-catalog' ] = { 'attrs' : { 'author' : {}, 'title' : {} } };
                                         setTimeout(
 											function() { 
                                                 if (obj.creds.hosts[ obj.data.server_unadorned ]) {



More information about the open-ils-commits mailing list