MDL-34742 - adding ability to move blocks into empty column
This commit is contained in:
committed by
Frederic Massart
parent
7033316dad
commit
054bcf69f6
@@ -457,6 +457,12 @@ class block_manager {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user