From: Jean-Philippe Orsini Date: Mon, 12 Sep 2011 13:07:37 +0000 (+0000) Subject: add name of the sensor in the title X-Git-Tag: v0.8.0.5~675 X-Git-Url: http://git.wpitchoune.net/gitweb/?a=commitdiff_plain;h=2f3798bd792934508bf879aaa2110be50f74acf6;p=psensor.git add name of the sensor in the title --- diff --git a/www/details.html b/www/details.html index aa7603d..42993ef 100644 --- a/www/details.html +++ b/www/details.html @@ -1,7 +1,7 @@ - Sensor details + Sensor @@ -17,12 +17,12 @@ var params = get_url_params(); var url_id = params["id"]; - $.getJSON(url_id, function(data) { var measures = data["measures"]; var data_chart = []; $("#title").append(data["name"]); + $("title").append(data["name"]); $.each(measures, function(i, item) { var d = new Date(item["time"]*1000); @@ -48,7 +48,7 @@