# HG changeset patch # User Michiel Broek # Date 1409832429 -7200 # Node ID 61be1e1711d3ddd10dd5d694b12fbb3d60c66be7 # Parent 674efa17be1de3155c9c760efc927c1d8b56f5b9 Make ajax response for profile state the same as the startup state diff -r 674efa17be1d -r 61be1e1711d3 www-thermferm/getstate.php --- a/www-thermferm/getstate.php Wed Sep 03 15:38:01 2014 +0200 +++ b/www-thermferm/getstate.php Thu Sep 04 14:07:09 2014 +0200 @@ -85,7 +85,7 @@ if (($f[0] == "PROF_TARGET") && ($mode == "PROFILE")) $target_temperature = $f[1]; if (($f[0] == "PROF_STATE") && ($mode == "PROFILE")) - $prof_state = $f[1]; + $prof_state = 'State: '.$f[1]; $j++; } }