MDL-48544 blocks: Only add docked tags if all blocks are docked
commit8bc846ff7aa5020aca446219dc77298d4ab5e906
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 8 Jan 2015 06:58:26 +0000 (8 14:58 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 9 Feb 2015 12:56:04 +0000 (9 20:56 +0800)
tree3ee9b239cf40f6f114a6602058a8e6abc3d0babd
parentcccb0c0722232e8174c97dff98a38188e602ca82
MDL-48544 blocks: Only add docked tags if all blocks are docked

Previously, if all blocks were hidden, then the region was reported as
being docked eroniously and it was not possible to unhide the blocks.

Docking should have no relation to the presence of block content.
blocks/tests/behat/hide_blocks.feature [new file with mode: 0644]
lib/blocklib.php