consolidate php
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
var table = new Tabulator("#wunderobs", {
|
||||
virtualDom: true,
|
||||
virtualDomBuffer: 300,
|
||||
ajaxURL: "lsr.php?getCombinedTable=p",
|
||||
ajaxURL: "main.php?service=lsr&getCombinedTable=p",
|
||||
ajaxConfig: "GET",
|
||||
autoResize: true,
|
||||
initialSort: [{ column: "start", dir: "desc" }],
|
||||
@@ -181,7 +181,7 @@
|
||||
|
||||
function lsr(lsr, id, source) {
|
||||
$.get({
|
||||
url: 'lsr.php?updater=true&lsr=' + lsr + "&id=" + id + "&table="+source,
|
||||
url: 'main.php?service=lsr&updater=true&lsr=' + lsr + "&id=" + id + "&table="+source,
|
||||
error: function(xhr, error) {
|
||||
alert('Unable to update, please refresh page');
|
||||
}
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
function hide(hide, id, source) {
|
||||
$.get({
|
||||
url: 'lsr.php?updater=true&hide=' + hide + "&id=" + id + "&table="+source,
|
||||
url: 'main.php?service=lsr&updater=true&hide=' + hide + "&id=" + id + "&table="+source,
|
||||
error: function(xhr, error) {
|
||||
alert('Unable to update, please refresh page');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user