[open-ils-commits] r9015 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 14 14:11:27 EDT 2008
Author: phasefx
Date: 2008-03-14 13:37:49 -0400 (Fri, 14 Mar 2008)
New Revision: 9015
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
this is refactored code, and the environment where it came from had org ids, but I was passing org objects here by mistake in it's new location, so.. flattening the orgs
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-03-14 16:47:52 UTC (rev 9014)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-03-14 17:37:49 UTC (rev 9015)
@@ -85,7 +85,7 @@
lib = g.map_acn[ cn_id ].owning_lib();
}
}
- return lib;
+ return typeof lib == 'object' ? lib.id() : lib;
}
),
g.copies.length == 1 ? [ 'UPDATE_COPY' ] : [ 'UPDATE_COPY', 'UPDATE_BATCH_COPY' ]
More information about the open-ils-commits
mailing list