Change how the urls are built in the java script

This commit is contained in:
Tim Almdal
2009-03-05 01:22:27 +00:00
parent 1fa05f1093
commit 46b752cbc7
4 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ class Server_Add_Controller extends Controller {
$view = new View("server_add_tree_dialog.html");
$view->action = url::site("server_add/add_photo/$id");
$view->hidden = array("csrf" => access::csrf_token(), "base_url" => url::base(true));
$view->hidden = array("csrf" => access::csrf_token(), "base_url" => url::site("__ARGS__"));
$view->parents = $item->parents();
$view->album_title = $item->title;