use the configured identifier field
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 May 2008 21:18:10 +0000 (21:18 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 May 2008 21:18:10 +0000 (21:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9675 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/dojoData.js

index 48c9172..20f5a43 100644 (file)
@@ -42,7 +42,7 @@ if(!dojo._hasResource['fieldmapper.dojoData']){
                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;