We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9596f1d commit b0588c4Copy full SHA for b0588c4
1 file changed
htdocs/luci-static/resources/view/https-dns-proxy/overview.js
@@ -459,6 +459,15 @@ return view.extend({
459
L.uci.unset(pkg.Name, section_id, "resolver_url");
460
L.uci.unset(pkg.Name, section_id, "bootstrap_dns");
461
};
462
+ _provider.save = function (section_id) {
463
+ if (this.isActive(section_id)) {
464
+ var fval = this.formvalue(section_id);
465
+ if (fval != null && fval !== '') {
466
+ return this.write(section_id, fval);
467
+ }
468
469
+ return this.remove(section_id);
470
+ };
471
472
function createProviderWidget(s, i, prov) {
473
if (
0 commit comments