From: Galen Charlton Date: Thu, 14 Jul 2022 16:12:59 +0000 (+0000) Subject: LP#XXX: fix Dojo AutoFieldWidget initialization bug X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=39f04a6781f5add1c233a7309d98d84d0a7b99f6;p=working%2FEvergreen.git LP#XXX: fix Dojo AutoFieldWidget initialization bug This patch fixes a bug where AutoFieldWidget wouldn't invoke the callback when building an org unit selector. Fix this allows library settings whose datatype is link and whose fm_class is aou to work in the Dojo Library Settings editor. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js index 149d53d150..f0c309391c 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js @@ -669,6 +669,7 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { } else { this.widget.tree = fieldmapper.aou.globalOrgTree; this.widget.startup(); + this._widgetLoaded(); } return true;