Skip to content

Commit

Permalink
Fixes #36959 - rename interface to host_interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and ekohl committed Nov 29, 2023
1 parent 004c4d2 commit 8cf1a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/javascripts/host_edit_interfaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ $(document).on('change', '.interface_mac', function(event) {
.find('.interface_mac')
.attr('id')
) {
var interface = $('#interfaceModal').find('.interface_mac');
var mac = interface.val();
var baseurl = interface.attr('data-url');
var host_interface = $('#interfaceModal').find('.interface_mac');
var mac = host_interface.val();
var baseurl = host_interface.attr('data-url');
$.ajax({
type: 'GET',
url: baseurl + '?mac=' + mac,
Expand Down

0 comments on commit 8cf1a32

Please sign in to comment.