tell toStoreData to allow nulls in hashes
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 May 2008 02:23:55 +0000 (02:23 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 May 2008 02:23:55 +0000 (02:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9566 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/dojoData.js

index 60d17e0..48c9172 100644 (file)
@@ -48,7 +48,7 @@ if(!dojo._hasResource['fieldmapper.dojoData']){
 
                var data = { label : label, identifier : params.identifier, items : [] };
 
-               for (var i in list) data.items.push( list[i].toHash() );
+               for (var i in list) data.items.push( list[i].toHash(true) );
 
                if (params.children && params.parent) {
                        var _hash_list = data.items;