fix for size-setting/resizing of small appboxes; will now be displayed with full width, when not in company of another small-view-portal-box; half of the available width, when side by side with another small-view-portal-box.

This commit is contained in:
Klaus Leithoff 2010-04-21 13:28:02 +00:00
parent 938b7cf391
commit 4e3769041f

View File

@ -239,7 +239,7 @@
$tropen=1;
}
$small = ($thisd>1) && (count($neworder) > $index + 1) && ($searchlist[$neworder[$index + 1]] > 1);
$small = ($thisd>1) && (count($neworder) >= $index + 1) && ($searchlist[$neworder[$index + 1]] > 1 || $searchlist[$neworder[$index - 1]] > 1);
$var['tdwidth'] = $small ? '50' : '100';
$var['colspan'] = $small ? '1' : '2';