summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/tr-select-router_block_ip.html2
-rw-r--r--httemplate/misc/xmlhttp-free_addresses_in_block.json.html (renamed from httemplate/json/free_addresses_in_block.json.html)2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-router_block_ip.html b/httemplate/elements/tr-select-router_block_ip.html
index 535e953c4..eac41cfad 100644
--- a/httemplate/elements/tr-select-router_block_ip.html
+++ b/httemplate/elements/tr-select-router_block_ip.html
@@ -71,7 +71,7 @@ function populate_ip_select() {
% }
if ( blocknum && $.isNumeric(blocknum) && ! e.is(':hidden')) {
$.getJSON(
- '<% $p %>json/free_addresses_in_block.json.html',
+ '<% $p %>misc/xmlhttp-free_addresses_in_block.json.html',
{blocknum: blocknum},
function(ip_json) {
$.each( ip_json, function(idx, val) {
diff --git a/httemplate/json/free_addresses_in_block.json.html b/httemplate/misc/xmlhttp-free_addresses_in_block.json.html
index 6785aac6b..801718d35 100644
--- a/httemplate/json/free_addresses_in_block.json.html
+++ b/httemplate/misc/xmlhttp-free_addresses_in_block.json.html
@@ -3,7 +3,7 @@
Unless block is larger than /24 - Does somebody really want to populate
65k addresses into a HTML selectbox?
</%doc>
-<% encode_rest($json) %>\
+<% encode_json($json) %>\
<%init>
my $json = [];