Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-34742-23' of git://github.com/FMCorz/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
commit ed22220593616901162c630dd4a4252ec81a0d1c 2 parents 8172f3b + 054bcf6
@danpoltawski danpoltawski authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/blocklib.php
View
6 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) {
Please sign in to comment.
Something went wrong with that request. Please try again.