From d538dd333254feb777ec151349e76528238a8fec Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 11 Apr 2008 01:56:20 +0000 Subject: [PATCH] put fromStoreItem back on the prototype git-svn-id: svn://svn.open-ils.org/ILS/branches/dojo-admin@9302 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/fieldmapper/dojoData.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/fieldmapper/dojoData.js b/Open-ILS/web/js/fieldmapper/dojoData.js index 1ff4c0bcf3..60d17e0c6b 100644 --- a/Open-ILS/web/js/fieldmapper/dojoData.js +++ b/Open-ILS/web/js/fieldmapper/dojoData.js @@ -1,3 +1,20 @@ +/* +# --------------------------------------------------------------------------- +# Copyright (C) 2008 Georgia Public Library Service / Equinox Software, Inc +# Mike Rylander +# +# 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; @@ -70,7 +87,7 @@ if(!dojo._hasResource['fieldmapper.dojoData']){ 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']; -- 2.11.0