summaryrefslogtreecommitdiff
path: root/modules/organize/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-19 03:51:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-19 03:51:29 +0000
commitaaec040716d6e8702cbc001447f621e9a13a219c (patch)
treea4cdf85f4f3968c7463bd9e4c1160698afc0f235 /modules/organize/controllers
parenta8d60021ea67bbb3a58f8214ae03a4f34f17119f (diff)
- Improve the movement of the placeholder
- Make sure the thumbgrid will utoscroll when dragging - And an ordinal attribute to the thumbnail when generated, based on the current sort order of the album.
Diffstat (limited to 'modules/organize/controllers')
-rw-r--r--modules/organize/controllers/organize.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php
index 91b465c5..8ec3f1cf 100644
--- a/modules/organize/controllers/organize.php
+++ b/modules/organize/controllers/organize.php
@@ -48,6 +48,7 @@ class Organize_Controller extends Controller {
$v->children = $item->children($page_size, $offset);
$v->thumbsize = self::$_MICRO_THUMB_SIZE;
$v->padding = self::$_MICRO_THUMB_PADDING;
+ $v->offset = $offset;
print json_encode(array("count" => $v->children->count(),
"data" => $v->__toString()));