From 8cf1a321a8efe89c2099fff12ea7285eb649889e Mon Sep 17 00:00:00 2001 From: MariaAga Date: Wed, 29 Nov 2023 16:48:15 +0100 Subject: [PATCH] Fixes #36959 - rename interface to host_interface --- app/assets/javascripts/host_edit_interfaces.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/host_edit_interfaces.js b/app/assets/javascripts/host_edit_interfaces.js index e8bbb5e3840..75cc3f5a4f2 100644 --- a/app/assets/javascripts/host_edit_interfaces.js +++ b/app/assets/javascripts/host_edit_interfaces.js @@ -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,