git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13d84b9
)
no change, just formatted long lines
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 6 Sep 2013 15:23:37 +0000
(17:23 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 6 Sep 2013 15:23:37 +0000
(17:23 +0200)
unfold/plugin.py
patch
|
blob
|
history
diff --git
a/unfold/plugin.py
b/unfold/plugin.py
index
de84878
..
bcc03aa
100644
(file)
--- a/
unfold/plugin.py
+++ b/
unfold/plugin.py
@@
-169,11
+169,14
@@
class Plugin:
self.need_toggle = False
if self.toggled=='persistent':
# start with everything turned off and let the js callback do its job
self.need_toggle = False
if self.toggled=='persistent':
# start with everything turned off and let the js callback do its job
- env.update({'persistent_toggle':True,'display_hide_button':False,'display_show_button':False,'display_body':False})
+ env.update({'persistent_toggle':True,'display_hide_button':False,
+ 'display_show_button':False,'display_body':False})
elif self.toggled==False:
elif self.toggled==False:
- env.update({'persistent_toggle':False,'display_hide_button':False,'display_show_button':True,'display_body':False})
+ env.update({'persistent_toggle':False,'display_hide_button':False,
+ 'display_show_button':True,'display_body':False})
else:
else:
- env.update({'persistent_toggle':False,'display_hide_button':True,'display_show_button':False,'display_body':True})
+ env.update({'persistent_toggle':False,'display_hide_button':True,
+ 'display_show_button':False,'display_body':True})
if self.need_debug():
print "rendering plugin.html with env keys %s"%env.keys()
for (k,v) in env.items():
if self.need_debug():
print "rendering plugin.html with env keys %s"%env.keys()
for (k,v) in env.items():