[open-ils-commits] r8353 - branches/rel_1_2/Open-ILS/xul/staff_client/server/cat

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jan 8 16:00:44 EST 2008


Author: phasefx
Date: 2008-01-08 15:36:17 -0500 (Tue, 08 Jan 2008)
New Revision: 8353

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

Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-01-08 19:28:15 UTC (rev 8352)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/cat/copy_editor.js	2008-01-08 20:36:17 UTC (rev 8353)
@@ -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