1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Bugfix: break on pageload event

This commit is contained in:
billz 2021-02-02 04:30:24 +00:00
parent 23de56b8e7
commit 5ec25e56d9

View File

@ -151,8 +151,10 @@ function contentLoaded() {
getAllInterfaces();
setupTabs();
setupBtns();
break;
case "hostapd_conf":
loadChannel();
break;
case "dhcpd_conf":
loadInterfaceDHCPSelect();
break;
@ -255,7 +257,6 @@ Source: https://en.wikipedia.org/wiki/List_of_WLAN_channels
Additional: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
*/
function loadChannelSelect(selected) {
// Fetch wireless regulatory data
$.getJSON("config/wireless.json", function(json) {
var hw_mode = $('#cbxhwmode').val();