From: miker Date: Fri, 23 Jul 2010 17:21:24 +0000 (+0000) Subject: Forward-port r17024: include null fields, via .toStoreItem(), when creating a permiss... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dbe711e9e9ab4f7607ae163840a8ec68f225d501;p=evergreen%2Fbjwebb.git Forward-port r17024: include null fields, via .toStoreItem(), when creating a permission map store item git-svn-id: svn://svn.open-ils.org/ILS/trunk@17027 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/conify/global/permission/grp_tree.html b/Open-ILS/web/conify/global/permission/grp_tree.html index bdb535abe..695048403 100644 --- a/Open-ILS/web/conify/global/permission/grp_tree.html +++ b/Open-ILS/web/conify/global/permission/grp_tree.html @@ -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();