Skip to content
Permalink
Browse files

MDL-34742 - adding ability to move blocks into empty column

  • Loading branch information...
matthewdaniel authored and FMCorz committed Aug 5, 2012
1 parent 7033316 commit 054bcf69f6047f6fb8fe6feeb7ee452b4eda9ecc
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/blocklib.php
@@ -457,6 +457,12 @@ public function region_completely_docked($region, $output) {
if (!$this->page->theme->enable_dock) {
return false;
}
// Do not dock the region when the user attemps to move a block.
if ($this->movingblock) {
return false;
}
$this->check_is_loaded();
$this->ensure_content_created($region, $output);
foreach($this->visibleblockcontent[$region] as $instance) {

0 comments on commit 054bcf6

Please sign in to comment.
You can’t perform that action at this time.