From 2ab215daca1914102b35897300d681b3eb7f1274 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Feb 2021 16:06:46 +0300 Subject: [PATCH] batch editor: comment out getChildByName --- js/PrefFeedTree.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/PrefFeedTree.js b/js/PrefFeedTree.js index 468e2025c..bb5d25e67 100644 --- a/js/PrefFeedTree.js +++ b/js/PrefFeedTree.js @@ -301,7 +301,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dojo/_b try { const dialog = new fox.SingleUseDialog({ title: __("Edit Multiple Feeds"), - getChildByName: function (name) { + /*getChildByName: function (name) { let rv = null; this.getChildren().forEach( function (child) { @@ -311,7 +311,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dojo/_b } }); return rv; - }, + },*/ toggleField: function (checkbox) { const name = checkbox.attr("data-control-for"); const target = dijit.getEnclosingWidget(dialog.domNode.querySelector(`input[name="${name}"]`));