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:
parent
23de56b8e7
commit
5ec25e56d9
@ -151,8 +151,10 @@ function contentLoaded() {
|
|||||||
getAllInterfaces();
|
getAllInterfaces();
|
||||||
setupTabs();
|
setupTabs();
|
||||||
setupBtns();
|
setupBtns();
|
||||||
|
break;
|
||||||
case "hostapd_conf":
|
case "hostapd_conf":
|
||||||
loadChannel();
|
loadChannel();
|
||||||
|
break;
|
||||||
case "dhcpd_conf":
|
case "dhcpd_conf":
|
||||||
loadInterfaceDHCPSelect();
|
loadInterfaceDHCPSelect();
|
||||||
break;
|
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
|
Additional: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
|
||||||
*/
|
*/
|
||||||
function loadChannelSelect(selected) {
|
function loadChannelSelect(selected) {
|
||||||
|
|
||||||
// Fetch wireless regulatory data
|
// Fetch wireless regulatory data
|
||||||
$.getJSON("config/wireless.json", function(json) {
|
$.getJSON("config/wireless.json", function(json) {
|
||||||
var hw_mode = $('#cbxhwmode').val();
|
var hw_mode = $('#cbxhwmode').val();
|
||||||
|
Loading…
Reference in New Issue
Block a user