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

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jul 23 13:19:22 EDT 2010


Author: miker
Date: 2010-07-23 13:19:18 -0400 (Fri, 23 Jul 2010)
New Revision: 17024

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

Modified: branches/rel_1_6_0/Open-ILS/web/conify/global/permission/grp_tree.html
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/conify/global/permission/grp_tree.html	2010-07-23 16:18:58 UTC (rev 17023)
+++ branches/rel_1_6_0/Open-ILS/web/conify/global/permission/grp_tree.html	2010-07-23 17:19:18 UTC (rev 17024)
@@ -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