From d5a6832b4d734c48ed580636bff06839b22c8f88 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 14 Jul 2022 16:12:59 +0000 Subject: [PATCH] LP#1981714: fix Dojo AutoFieldWidget initialization bug This patch fixes a bug where AutoFieldWidget wouldn't invoke the callback when building an org unit selector. Fixing this allows library settings (including acq.default_owning_lib_for_auto_lids added in the previous patch) whose datatype is link and whose fm_class is aou to work in the Dojo Library Settings editor. Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js | 1 + 1 file changed, 1 insertion(+) 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; -- 2.11.0