Author: mbonetti
Date: Tue May 5 08:44:12 2009
New Revision: 510
Modified:
branches/electron/pages/admin/views.py
Log:
fix: get page translation into the view when expanding a tree node in ajax.
Modified: branches/electron/pages/admin/views.py
==============================================================================
--- branches/electron/pages/admin/views.py (original)
+++ branches/electron/pages/admin/views.py Tue May 5 08:44:12 2009
@@ -73,6 +73,7 @@
page = Page.objects.get(id=page_id)
pages = page.children.all()
has_permission = page.has_page_permission(request)
+ page_languages = settings.PAGE_LANGUAGES
return "admin/pages/page/sub_menu.html", locals()
sub_menu = staff_member_required(sub_menu)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---