diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-04 20:05:58 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-04 20:05:58 +0000 |
commit | 0f103b1c069063a2e6109a0ba7e566104f4ba8fa (patch) | |
tree | 8b7e26b0ef3650a6b90c0b9602da6b37bf3437f3 /core/controllers | |
parent | 80a7db61c9fba53477c1ec0850bdffaf7b11657a (diff) |
Moving albums around with a drag and drop interface seems to work and preserve the left right pointers.
* changed _lock and _unlock to protected methods lock and lock respectively
* added a moveTo method on the Item_Model
* Corrected the hole closure on delete.
* added moveTo on the ORM_MTPP class
* Changed the rearrange javascript to do moves with ajax
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/welcome.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 8f8421d3..1d2082d4 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -125,7 +125,7 @@ class Welcome_Controller extends Template_Controller { $data = "digraph G {\n"; foreach ($items as $item) { $data .= " $item->parent_id -> $item->id\n"; - $data .= " $item->id [label=\"$item->id <$item->left, $item->right>\"]\n"; + $data .= " $item->id [label=\"$item->id $item->title <$item->left, $item->right>\"]\n"; } $data .= "}\n"; |