diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-05 01:22:27 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-05 01:22:27 +0000 |
commit | 46b752cbc77389772fc4d862a2bc9768c3ab5b40 (patch) | |
tree | ff916e06205975e1caf9e61cb61e556590e91b7c /modules/server_add/controllers/server_add.php | |
parent | 1fa05f1093957e47f00165f89ae431493ed36813 (diff) |
Change how the urls are built in the java script
Diffstat (limited to 'modules/server_add/controllers/server_add.php')
-rw-r--r-- | modules/server_add/controllers/server_add.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/server_add/controllers/server_add.php b/modules/server_add/controllers/server_add.php index 592a14e3..5f061cd5 100644 --- a/modules/server_add/controllers/server_add.php +++ b/modules/server_add/controllers/server_add.php @@ -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; |