Enable javascript in duplicate students view
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 14 Mar 2009 16:08:09 +0000
changeset 1850 1e39b32ff4d7
parent 1849 f8728d5e2e07
child 1851 8ff0858f5b03
Enable javascript in duplicate students view Patch by: Sverre Rabbelier
app/soc/views/models/program.py
--- a/app/soc/views/models/program.py	Sat Mar 14 03:49:16 2009 +0000
+++ b/app/soc/views/models/program.py	Sat Mar 14 16:08:09 2009 +0000
@@ -288,6 +288,7 @@
     program_entity = program_logic.logic.getFromKeyFieldsOr404(kwargs)
 
     context = helper.responses.getUniversalContext(request)
+    helper.responses.useJavaScript(context, params['js_uses_all'])
     context['page_name'] = page_name
 
     # get all orgs for this program who are active and have slots assigned