More patches as part of #1225. Change the 'core' modules to use the json::reply

method to set the content type header and encode the response as a json object
This commit is contained in:
Tim Almdal
2010-07-23 23:05:39 -07:00
parent 2cb87631b7
commit 48c2e73048
27 changed files with 84 additions and 100 deletions
@@ -57,7 +57,7 @@ class Admin_Modules_Controller extends Admin_Controller {
$result["dialog"] = (string)$v;
$result["allow_continue"] = empty($messages["error"]);
}
print json_encode($result);
json::reply($result);
}
public function save() {