mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Option to default open Location Map on Device View (#11167)
* Option to default open Location Map on Device View * String set fixes * adding lanugage files
This commit is contained in:
@ -177,8 +177,11 @@ if ($device['location_id']) {
|
||||
}).on("hidden.bs.collapse", function () {
|
||||
$("#toggle-map-button").find(".fa").removeClass("fa-map-o").addClass("fa-map");
|
||||
$("#toggle-map-button span").text("View")
|
||||
});
|
||||
</script>
|
||||
});';
|
||||
if (Config::get('device_location_map_open')) {
|
||||
echo '$("#toggle-map").collapse("show");';
|
||||
}
|
||||
echo '</script>
|
||||
';
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user