summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_bridge_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/interfaces_bridge_edit.php')
-rw-r--r--src/usr/local/www/interfaces_bridge_edit.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/local/www/interfaces_bridge_edit.php b/src/usr/local/www/interfaces_bridge_edit.php
index 523e513..cf2f622 100644
--- a/src/usr/local/www/interfaces_bridge_edit.php
+++ b/src/usr/local/www/interfaces_bridge_edit.php
@@ -452,7 +452,7 @@ $btnadv = new Form_Button(
'fa-cog'
);
-$btnadv->addClass('btn-info btn-sm');
+$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm');
$section->addInput(new Form_StaticText(
'Advanced Options',
@@ -697,8 +697,6 @@ events.push(function() {
$('#btnadvopts').html('<i class="fa fa-cog"></i> ' + text);
}
- $('#btnadvopts').prop('type', 'button');
-
$('#btnadvopts').click(function(event) {
show_advopts();
});
OpenPOWER on IntegriCloud