summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/frontend
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-20 11:51:47 +0200
committerSimon Rettberg2017-04-20 11:51:47 +0200
commit391d831ec434d12e6ec825fe75f7950bd0da1004 (patch)
treef77aa23a892547feedac08d3c6a54ee0cd24e768 /modules-available/locationinfo/frontend
parent[locationinfo] CourseBackend: Rename some methods to be more descriptive (diff)
downloadslx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.tar.gz
slx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.tar.xz
slx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.zip
[locationinfo] Rename tables to use module name as prefix; room -> location
Diffstat (limited to 'modules-available/locationinfo/frontend')
-rwxr-xr-xmodules-available/locationinfo/frontend/doorsign.html4
-rw-r--r--modules-available/locationinfo/frontend/panel.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/locationinfo/frontend/doorsign.html b/modules-available/locationinfo/frontend/doorsign.html
index 7017fe0b..a703cce3 100755
--- a/modules-available/locationinfo/frontend/doorsign.html
+++ b/modules-available/locationinfo/frontend/doorsign.html
@@ -1339,7 +1339,7 @@ optional:
*/
function preInitRoom(room) {
- $.getJSON("../../../api.php?do=locationinfo&action=roominfo&id=" + room.id + "&coords=1", function (result) {
+ $.getJSON("../../../api.php?do=locationinfo&action=locationinfo&id=" + room.id + "&coords=1", function (result) {
generateRoomLayoutDiv((100 - room.config.scale) + "%", room);
if (result[0] == null) {
@@ -1552,7 +1552,7 @@ optional:
*/
function queryRooms(ids) {
$.ajax({
- url: "../../../api.php?do=locationinfo&action=roominfo&id=" + ids + "&coords=0",
+ url: "../../../api.php?do=locationinfo&action=locationinfo&id=" + ids + "&coords=0",
dataType: 'json',
cache: false,
timeout: 30000,
diff --git a/modules-available/locationinfo/frontend/panel.html b/modules-available/locationinfo/frontend/panel.html
index cd4db81f..bd22408e 100644
--- a/modules-available/locationinfo/frontend/panel.html
+++ b/modules-available/locationinfo/frontend/panel.html
@@ -143,7 +143,7 @@
function init() {
var ids = getUrlParameter("id");
- $.getJSON("../../../api.php?do=locationinfo&action=roomtree&id=" + ids, function (result) {
+ $.getJSON("../../../api.php?do=locationinfo&action=locationtree&id=" + ids, function (result) {
generateLayout(result);
setInterval(update, 1000);