Skip to content

Commit 028a967

Browse files
committed
no longer override renderFrame for form.MultiValue
1 parent 9a00d5e commit 028a967

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

  • htdocs/luci-static/resources/view/https-dns-proxy

htdocs/luci-static/resources/view/https-dns-proxy/overview.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,6 @@ return view.extend({
118118
});
119119
o.depends("dnsmasq_config_update_option", "+");
120120
o.retain = true;
121-
o.renderFrame = function (section_id, in_table, option_index, nodes) {
122-
var frame = form.Value.prototype.renderFrame.apply(this, arguments);
123-
if (frame && frame.querySelector) {
124-
var label = frame.querySelector("label.cbi-value-title");
125-
if (label) {
126-
var div = E("div", { class: label.className });
127-
while (label.firstChild) div.appendChild(label.firstChild);
128-
label.parentNode.replaceChild(div, label);
129-
}
130-
}
131-
return frame;
132-
};
133121
}
134122

135123
o = s.taboption(

0 commit comments

Comments
 (0)