From: Thierry Parmentelat Date: Tue, 12 Apr 2011 08:20:18 +0000 (+0200) Subject: fix bug with info-visible X-Git-Tag: plewww-4.3-64~11 X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=commitdiff_plain;h=ab60f70071b4891d81c1ff41339604e154ec5b26 fix bug with info-visible --- diff --git a/planetlab/slices/slice.php b/planetlab/slices/slice.php index 44185e6..3dbab8b 100644 --- a/planetlab/slices/slice.php +++ b/planetlab/slices/slice.php @@ -648,8 +648,7 @@ href="http://trac.myslice.info">http://trac.myslice.info. '; $toggle_nodes=new PlekitToggle('my-slice-nodes-configuration', "Node table layout", - array('visible'=>NULL, - 'info-text'=>$layout_info, + array('info-text'=>$layout_info, 'info-visible'=>$show_layout_info)); $toggle_nodes->start(); diff --git a/plekit/php/toggle.php b/plekit/php/toggle.php index d43cc78..b481195 100644 --- a/plekit/php/toggle.php +++ b/plekit/php/toggle.php @@ -144,7 +144,7 @@ class PlekitToggle { $html=""; $html .= "