1
0

Correct the path to the resource delete handler

This commit is contained in:
Tim Almdal 2009-12-21 11:41:49 -08:00
parent 4c0cb783a2
commit a7851a9a97

View File

@ -74,11 +74,12 @@ class G3_Handlers_Controller extends Controller {
} catch (Exception $e) {
print json_encode(array("result" => "fail", "message" => $e->getMessage()));
}
return;
} else {
$response = G3Remote::instance()->get_resource("gallery/$path");
$v = new View("delete.html");
$v->title = $response->resource->title;
$v->path = "g3_client/delete_album/?path=$path";
$v->path = "delete_album/?path=$path";
}
print json_encode(array("form" => (string)$v));