From: miker Date: Fri, 23 Jul 2010 17:20:19 +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=de14b6fe2b0498aae16c631220954e89f5b6c2d2;p=working%2FEvergreen.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/branches/rel_1_6@17025 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 fac68a559d..8809a3b267 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();