[open-ils-commits] r9678 - trunk/Open-ILS/web/js/dojo/fieldmapper
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 22 17:44:05 EDT 2008
Author: miker
Date: 2008-05-22 17:44:00 -0400 (Thu, 22 May 2008)
New Revision: 9678
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
Log:
identifier is class based
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2008-05-22 21:32:52 UTC (rev 9677)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2008-05-22 21:44:00 UTC (rev 9678)
@@ -144,7 +144,6 @@
constructor : function () {
if (!this.a) this.a = [];
this.classname = this.declaredClass;
- this.Identifier = 'id';
this._fields = fmclasses[this.classname];
for( var pos = 0; pos < this._fields.length; pos++ ) {
var p = parseInt(pos) + 3;
@@ -154,6 +153,7 @@
}
});
fieldmapper[cl] = window[cl]; // alias into place
+ fieldmapper[cl].Identifier = 'id'; // alias into place
}
More information about the open-ils-commits
mailing list