Hello. I have Asus RT-AC87U with installed 384.13_10 merlin firmware
when I try to go to Wireless section in the left menu I get errors in console which prevents page to work normally
The error:
The problem:
please fix. Thank you in advance
when I try to go to Wireless section in the left menu I get errors in console which prevents page to work normally
The error:
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at chanspec.js:25
The problem:
JavaScript:
if(based_modelid == "RT-AC87U"){
ch80m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_80m.push("0");
for(i=0;i<ch80m.length;i++){
wl1.channel_80m.push(ch80m[i] + "/80");
}
ch40m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_40m.push("0");
for(i=0;i<ch40m.length;i++){
wl1.channel_40m.push(wlextchannel_fourty(ch40m[i]));
}
}
please fix. Thank you in advance