further fix for Identifier support
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 May 2008 21:32:52 +0000 (21:32 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 22 May 2008 21:32:52 +0000 (21:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9677 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 20f5a43..96bce5d 100644 (file)
@@ -42,7 +42,7 @@ if(!dojo._hasResource['fieldmapper.dojoData']){
                if (!list) list = {};
 
                // a sane default
-               if (!params.identifier) params.identifier = this.Identifier;
+               if (!params.identifier) params.identifier = fieldmapper[this.classname].Identifier;
                if (!label) label = params.label;
                if (!label) label = params.identifier;