I have my toolbar to the left of the screen, if I have it opened and visit any page the body has a margin left corresponding tothe width of the toolbar, that's ok, but if I collapse it and then expand it, the body gets both margin left and right.
This is a bug, I found that the code was wrong for example here:

if ($(toolbar).is('.nw') || $(toolbar).is('sw')) {

there's a missing "." right before 'sw' just as it is before 'nw'. I then noticed that that dot was missing for all 4 lines that correspond to vertical layout (opening and expanding) and for horizontal layout (opening and expanding).
I'm attaching a patch that fixes those 4 lines.

Comments

TimLeytens’s picture

Here is the same patch for Drupal 7

TimLeytens’s picture

Reworked patch for Drupal 7

TimLeytens’s picture

Reworked patch to work with drush make

GoalGorilla’s picture

Patch works in drupal 7 dev version.

This patch should really be added to the dev version of the module.

TravisCarden’s picture

Version: 6.x-2.0 » 7.x-2.x-dev
Status: Patch (to be ported) » Needs review

Fixed issue details. See explanation of Status values.

jaapjan’s picture

Issue summary: View changes
Status: Needs review » Fixed

This issue appears to be fixed already in the latest dev version of the admin module. Marking issue as "Fixed". Please let me know if I'm wrong.

jaapjan’s picture

-

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.