minor
[unfold.git] / unfold / plugin.py
index 17931b6..c2bca29 100644 (file)
@@ -17,7 +17,7 @@ from unfold.prelude import Prelude
 
 DEBUG= False
 #DEBUG= [ 'SliceList' ]
-DEBUG=True
+#DEBUG=True
 
 # decorator to deflect calls on Plugin to its Prelude through self.page.prelude
 def to_prelude (method):
@@ -150,7 +150,7 @@ class Plugin:
         if self.export_json_settings():
             env ['settings_json' ] = self.settings_json()
             # compute plugin-specific initialization
-            js_init = render_to_string ( 'plugin-setenv.js', env )
+            js_init = render_to_string ( 'plugin-init.js', env )
             self.add_js_chunks (js_init)
         
         # interpret the result of requirements ()