o.value('absolute', _('Fixed interval'));
o = s.taboption('general', form.DummyValue, '_warning', _('Warning'));
- o.default = _('Changing the accounting interval type will invalidate existing databases!<br /><strong><a href="%s">Download backup</a></strong>.').format(L.url('admin/nlbw/backup'));
+ o.default = _('Changing the accounting interval type will invalidate existing databases!<br /><strong><a href="%s">Download backup</a></strong>.').format(L.url('admin/services/nlbw/backup'));
o.rawhtml = true;
if (/^[0-9]{4}-[0-9]{2}-[0-9]{2}\/[0-9]+$/.test(uci.get_first('nlbwmon', 'nlbwmon', 'database_interval')))
o.depends('_period', 'relative');
cbi_update_table('#layer7-data', rows, E('em', [
_('No data recorded yet.'), ' ',
- E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reload…'))
+ E('a', {
+ 'href': '#',
+ 'click': ui.createHandlerFn(this, 'handleCommit')
+ }, _('Force reload…'))
]));
this.pie('layer7-rx-pie', rxData);
cbi_update_table('#ipv6-data', rows, E('em', [
_('No data recorded yet.'), ' ',
- E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reload…'))
+ E('a', {
+ 'href': '#',
+ 'click': ui.createHandlerFn(this, 'handleCommit')
+ }, _('Force reload…'))
]));
var shareData = [], hostsData = [];