12345678910111213141516171819 |
- 'use strict';
- 'require baseclass';
- 'require form';
- return baseclass.extend({
- trigger: _('Switch support (kernel: switch0)'),
- kernel: true,
- addFormOptions(s){
- var o;
- o = s.option(form.Value, 'port_mask', _('Switch Port Mask'));
- o.modalonly = true;
- o.depends('trigger', 'switch0');
- o = s.option(form.Value, 'speed_mask', _('Switch Speed Mask'));
- o.modalonly = true;
- o.depends('trigger', 'switch0');
- }
- });
|