summaryrefslogtreecommitdiffstats
path: root/html_server/templates/property_info.html
diff options
context:
space:
mode:
Diffstat (limited to 'html_server/templates/property_info.html')
-rw-r--r--html_server/templates/property_info.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html_server/templates/property_info.html b/html_server/templates/property_info.html
index 4e7c92f..62ea1ba 100644
--- a/html_server/templates/property_info.html
+++ b/html_server/templates/property_info.html
@@ -7,7 +7,7 @@
<script>
function updateProperty(prop) {
- var pathToGetProperty = "{{ url_for('get_property_json') }}"
+ var pathToGetProperty = "{{ url_for('process_json_command', command = 'get_property') }}"
var completePath = pathToGetProperty + '?prop=' + prop
$.getJSON(completePath, function(json){
@@ -23,9 +23,9 @@
if(value == "")
return
- var pathToGetProperty = "{{ url_for('set_property_json') }}"
+ var pathToGetProperty = "{{ url_for('process_json_command', command = 'set_property') }}"
var completePath = pathToGetProperty + '?prop=' + prop +
- '&val=' + value;
+ '&value=' + value;
$.getJSON(completePath,
function(json) {