1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update luci-mod-network

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-20 10:46:25 +02:00
parent 10fa57001b
commit 5f9b903b35
8 changed files with 686 additions and 19 deletions

View file

@ -77,7 +77,7 @@ return view.extend({
o.rmempty = true;
o.modalonly = true;
o.cfgvalue = function(section_id) {
var cfgvalue = this.super('cfgvalue', [section_id]);
var cfgvalue = this.map.data.get('network', section_id, 'table');
return cfgvalue || 'main';
};