+/*
+# ---------------------------------------------------------------------------
+# Copyright (C) 2008 Georgia Public Library Service / Equinox Software, Inc
+# Mike Rylander <miker@esilibrary.com>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# ---------------------------------------------------------------------------
+*/
+
if(!dojo._hasResource['fieldmapper.dojoData']){
dojo._hasResource['fieldmapper.dojoData'] = true;
return data;
}
- for (var i in fmclasses) fieldmapper[i].fromStoreItem = _fromStoreItem;
+ for (var i in fmclasses) fieldmapper[i].prototype.fromStoreItem = _fromStoreItem;
for (var i in fmclasses) fieldmapper[i].toStoreData = _toStoreData;
fieldmapper.aou.prototype._ignore_fields = ['children'];