[open-ils-commits] r9302 - branches/dojo-admin/Open-ILS/web/js/fieldmapper

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 10 22:33:49 EDT 2008


Author: miker
Date: 2008-04-10 21:56:20 -0400 (Thu, 10 Apr 2008)
New Revision: 9302

Modified:
   branches/dojo-admin/Open-ILS/web/js/fieldmapper/dojoData.js
Log:
put fromStoreItem back on the prototype

Modified: branches/dojo-admin/Open-ILS/web/js/fieldmapper/dojoData.js
===================================================================
--- branches/dojo-admin/Open-ILS/web/js/fieldmapper/dojoData.js	2008-04-11 01:31:58 UTC (rev 9301)
+++ branches/dojo-admin/Open-ILS/web/js/fieldmapper/dojoData.js	2008-04-11 01:56:20 UTC (rev 9302)
@@ -1,3 +1,20 @@
+/*
+# ---------------------------------------------------------------------------
+# Copyright (C) 2008  Georgia Public Library Service / Equinox Software, Inc
+# Mike Rylander <miker at 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;
@@ -70,7 +87,7 @@
 		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'];



More information about the open-ils-commits mailing list