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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jan 8 16:01:36 EST 2008


Author: phasefx
Date: 2008-01-08 15:37:09 -0500 (Tue, 08 Jan 2008)
New Revision: 8354

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
one hell of a typo ;) fixes a regression

Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-01-08 20:36:17 UTC (rev 8353)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-01-08 20:37:09 UTC (rev 8354)
@@ -572,7 +572,7 @@
 
 		JSAN.use('util.fm_utils');
         var libs = []; for (var i in owning_libs) libs.push(i);
-        if (libs.length > 1) {
+        if (libs.length > 0) {
             var ancestor = util.fm_utils.find_common_aou_ancestor( libs );
             if (typeof ancestor == 'object' && ancestor != null) ancestor = ancestor.id();
 



More information about the open-ils-commits mailing list