[open-ils-commits] r11765 - trunk/Open-ILS/web/js/dojo/fieldmapper
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jan 7 21:35:11 EST 2009
Author: miker
Date: 2009-01-07 21:35:09 -0500 (Wed, 07 Jan 2009)
New Revision: 11765
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
Log:
make itemToStoreData() an instance method (using the invocant) as well as a class method (passing the object)
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js 2009-01-08 01:03:15 UTC (rev 11764)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js 2009-01-08 02:35:09 UTC (rev 11765)
@@ -95,6 +95,7 @@
for (var i in fmclasses) fieldmapper[i].prototype.fromStoreItem = _fromStoreItem;
for (var i in fmclasses) fieldmapper[i].toStoreData = _toStoreData;
for (var i in fmclasses) fieldmapper[i].itemToStoreData = _itemToStoreData;
+ for (var i in fmclasses) fieldmapper[i].prototype.itemToStoreData = function ( args ) { _itemToStoreData(this, args) };
for (var i in fmclasses) fieldmapper[i].initStoreData = _initStoreData;
fieldmapper.aou.prototype._ignore_fields = ['children'];
More information about the open-ils-commits
mailing list