luci-base: form.js: CBISectionValue: properly forward dependency checks
authorJo-Philipp Wich <jo@mein.io>
Sun, 11 Aug 2019 18:54:49 +0000 (20:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js

index b8d97c751a89a00ea23d6d4c280c395be9b33a1e..4cdef2e69214bfad0fb88ded49af0d451ced3aab 100644 (file)
@@ -1677,7 +1677,7 @@ var CBISectionValue = CBIValue.extend({
 
        checkDepends: function(section_id) {
                this.subsection.checkDepends();
-               return this.super('checkDepends');
+               return CBIValue.prototype.checkDepends.apply(this, [ section_id ]);
        },
 
        write: function() {},