batch editor: comment out getChildByName

This commit is contained in:
Andrew Dolgov 2021-02-21 16:06:46 +03:00
parent 521d0b65c7
commit 2ab215daca
1 changed files with 2 additions and 2 deletions

View File

@ -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}"]`));