[open-ils-commits] r17026 - branches/rel_1_6_1/Open-ILS/web/conify/global/permission (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jul 23 13:20:59 EDT 2010


Author: miker
Date: 2010-07-23 13:20:56 -0400 (Fri, 23 Jul 2010)
New Revision: 17026

Modified:
   branches/rel_1_6_1/Open-ILS/web/conify/global/permission/grp_tree.html
Log:
Forward-port r17024: include null fields, via .toStoreItem(), when creating a permission map store item

Modified: branches/rel_1_6_1/Open-ILS/web/conify/global/permission/grp_tree.html
===================================================================
--- branches/rel_1_6_1/Open-ILS/web/conify/global/permission/grp_tree.html	2010-07-23 17:20:19 UTC (rev 17025)
+++ branches/rel_1_6_1/Open-ILS/web/conify/global/permission/grp_tree.html	2010-07-23 17:20:56 UTC (rev 17026)
@@ -430,7 +430,7 @@
 										err = true;
 									},
                                     oncomplete : function (r,list) {
-								        group_store.newItem( list[0].toHash(), { parent : current_group, attribute : 'children' } );
+								        group_store.newItem( list[0].toStoreItem(), { parent : current_group, attribute : 'children' } );
                                     }
                                 });
 
@@ -599,7 +599,7 @@
 						                            },
 						                            oncomplete : function (r, list) {
 		
-						                                var new_item_hash = list[0].toHash();
+						                                var new_item_hash = list[0].toStoreItem();
 						                                perm_map_store.newItem( new_item_hash );
 						                                status_update( pgt_strings.SUCCESS_NEW_PERM_MAP );
 						                                highlighter.group_tree.green.play();



More information about the open-ils-commits mailing list