mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Add setHardwareModeTooltip(), fix webmanifest src attr
This commit is contained in:
@@ -183,6 +183,7 @@ function contentLoaded() {
|
||||
break;
|
||||
case "hostapd_conf":
|
||||
loadChannel();
|
||||
setHardwareModeTooltip();
|
||||
break;
|
||||
case "dhcpd_conf":
|
||||
loadInterfaceDHCPSelect();
|
||||
@@ -387,6 +388,17 @@ function loadChannelSelect(selected) {
|
||||
});
|
||||
}
|
||||
|
||||
/* Sets hardware mode tooltip text for selected interface.
|
||||
* Messages are sent from ajax request for gettext locale support.
|
||||
*/
|
||||
function setHardwareModeTooltip() {
|
||||
var iface = $('#cbxinterface').val();
|
||||
$.post('ajax/networking/get_frequencies.php?',{'interface': iface},function(data){
|
||||
responseText = JSON.parse(data);
|
||||
$('#tiphwmode').attr('data-original-title', responseText);
|
||||
});
|
||||
}
|
||||
|
||||
/* Updates the selected blocklist
|
||||
* Request is passed to an ajax handler to download the associated list.
|
||||
* Interface elements are updated to indicate current progress, status.
|
||||
|
Reference in New Issue
Block a user