# HG changeset patch # User Matti Hamalainen # Date 1385249038 -7200 # Node ID 1953d5025531f3937f1e1920e8cf6e5935132060 # Parent 34f540cea1ffe2bb8b92f17e2dcee59e591b64cc Alter the JSON format of the compo data list. diff -r 34f540cea1ff -r 1953d5025531 admajax.php --- a/admajax.php Sun Nov 24 00:28:20 2013 +0200 +++ b/admajax.php Sun Nov 24 01:23:58 2013 +0200 @@ -280,7 +280,7 @@ foreach (stExecSQL("SELECT * FROM compos") as $compo) { if ($index++ > 0) echo ","; - echo "\"Compo".$compo["id"]."\":\"".chentities($compo["name"])."\""; + echo "\"".$compo["id"]."\":\"".chentities($compo["name"])."\""; } break;