[open-ils-commits] r9675 - trunk/Open-ILS/web/js/dojo/fieldmapper

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 22 17:18:14 EDT 2008


Author: miker
Date: 2008-05-22 17:18:10 -0400 (Thu, 22 May 2008)
New Revision: 9675

Modified:
   trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
Log:
use the configured identifier field

Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js	2008-05-22 20:58:49 UTC (rev 9674)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js	2008-05-22 21:18:10 UTC (rev 9675)
@@ -42,7 +42,7 @@
 		if (!list) list = {};
 
 		// a sane default
-		if (!params.identifier) params.identifier = 'id';
+		if (!params.identifier) params.identifier = this.Identifier;
 		if (!label) label = params.label;
 		if (!label) label = params.identifier;
 



More information about the open-ils-commits mailing list