diff options
Diffstat (limited to 'modules/luci-mod-system/htdocs')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js index 18af222d29..6563bf4638 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js @@ -270,11 +270,8 @@ return L.view.extend({ o.datatype = 'host(0)'; o.ucisection = 'ntp'; o.depends('enabled', '1'); - o.remove = function() {}; // retain server list even if disabled o.load = function(section_id) { - return uci.get('system', 'ntp') - ? uci.get('system', 'ntp', 'server') - : default_servers; + return uci.get('system', 'ntp', 'server'); }; } |