X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/e920fb0c2489e797d1a062a210c34545a62f98b8..4bad110d2687345b9277c20f96a77d2633ac4759:/skins/photo_theme/folder_contents.py?ds=sidebyside diff --git a/skins/photo_theme/folder_contents.py b/skins/photo_theme/folder_contents.py index 2659868..714b8f1 100755 --- a/skins/photo_theme/folder_contents.py +++ b/skins/photo_theme/folder_contents.py @@ -215,7 +215,8 @@ options['form'] = { 'action': target, 'listHiddenVarInfos': tuple(hidden_vars), 'listButtonInfos': tuple(buttons), 'is_orderable': is_orderable, - 'is_sortable': is_sortable } + 'is_sortable': is_sortable, + 'items_add_allowed': items_add_allowed } if not ajax and is_orderable : deltas = range( 1, min(5, length) ) + range(5, length, 5) options['form']['listDeltas'] = tuple(deltas)