consolidate php
This commit is contained in:
4
svr.html
4
svr.html
@@ -44,7 +44,7 @@ $.getJSON(url, function(json) {
|
||||
lsrdata = json;
|
||||
console.log("LSR Data Loaded:", lsrdata.events.features.length, "events");
|
||||
}).done(function() {
|
||||
table.setData("powerapi.php?svrpolys=potato");
|
||||
table.setData("main.php?service=powerapi&svrpolys=potato");
|
||||
table.setSort([
|
||||
{column:"vtec", dir: "desc"},
|
||||
]);
|
||||
@@ -82,7 +82,7 @@ function findFeatureById(featureCollection, id) {
|
||||
}
|
||||
|
||||
function reloadData() {
|
||||
table.replaceData("powerapi.php?svrpolys=potato");
|
||||
table.replaceData("main.php?service=powerapi&svrpolys=potato");
|
||||
table.setSort([
|
||||
{column:"vtec", dir: "desc"},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user