From: Bill Erickson Date: Sat, 31 Oct 2015 17:03:31 +0000 (-0400) Subject: LP#1452950 Field doc display repair X-Git-Tag: sprint4-merge-nov22~576 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ae707cf1753728007e4f6811240e89cac9a9941c;p=working%2FEvergreen.git LP#1452950 Field doc display repair Set the current field doc via function instead of directly within the ng-click handler. For unknown reasons, the direct approach was not working with addresses. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index f8186e4160..9caf5e73ae 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -42,7 +42,7 @@ diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js index 298d8cc3e3..63ab0c4a38 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js @@ -624,6 +624,11 @@ function PatronRegCtrl($scope, $routeParams, }); + // update the currently displayed field documentation + $scope.set_selected_field_doc = function(cls, field) { + $scope.selected_field_doc = $scope.field_doc[cls][field]; + } + // returns the tree depth of the selected profile group tree node. $scope.pgt_depth = function(grp) { var d = 0;