[open-ils-commits] r9016 -
branches/rel_1_2/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 14 14:12:17 EDT 2008
Author: phasefx
Date: 2008-03-14 13:38:39 -0400 (Fri, 14 Mar 2008)
New Revision: 9016
Modified:
branches/rel_1_2/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: 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-03-14 17:37:49 UTC (rev 9015)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-03-14 17:38:39 UTC (rev 9016)
@@ -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