added js api to allow mobileclient to open modals
This commit is contained in:
parent
f635d5991c
commit
3006629129
1 changed files with 5 additions and 0 deletions
|
@ -1382,6 +1382,11 @@ function nearby_stations_available() {
|
||||||
c3nav._wifi_scan_results(mobileclient.getNearbyStations());
|
c3nav._wifi_scan_results(mobileclient.getNearbyStations());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function openInModal(location) {
|
||||||
|
c3nav.open_modal();
|
||||||
|
$.get(location, c3nav._modal_loaded).fail(c3nav._modal_error);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
LevelControl = L.Control.extend({
|
LevelControl = L.Control.extend({
|
||||||
options: {
|
options: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue