--- a/app/soc/views/helper/decorators.py Sun Feb 22 10:31:45 2009 +0000
+++ b/app/soc/views/helper/decorators.py Sun Feb 22 10:32:24 2009 +0000
@@ -96,6 +96,7 @@
check_kwargs = kwargs.copy()
context = responses.getUniversalContext(request)
+ responses.useJavaScript(context, self._params['js_uses_all'])
id = context['account']
user = context['user']
--- a/app/soc/views/helper/responses.py Sun Feb 22 10:31:45 2009 +0000
+++ b/app/soc/views/helper/responses.py Sun Feb 22 10:32:24 2009 +0000
@@ -67,7 +67,9 @@
"""
if not context:
+ from soc.views.helper import params
context = getUniversalContext(request)
+ useJavaScript(context, params.DEF_JS_USES_LIST)
if response_args is None:
response_args = {}
@@ -177,7 +179,9 @@
context = error.context
if not context:
+ from soc.views.helper import params
context = getUniversalContext(request)
+ useJavaScript(context, params.DEF_JS_USES_LIST)
if not template:
template = []