Permalink
Browse files

added nessicary code for ajax course format

  • Loading branch information...
cap2501
cap2501 committed Aug 28, 2006
1 parent d4df8fd commit 4a1a14c9d3de5a77ac098c014e4dcabb93a5d303
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/blocklib.php
View
@@ -324,7 +324,11 @@ function blocks_print_group(&$page, &$pageblocks, $position) {
$obj->_print_shadow();
}
} else {
+ global $COURSE;
+ if(!empty($COURSE->javascriptportal))
+ $COURSE->javascriptportal->currentblocksection = $position;
$obj->_print_block();
+
}
}

0 comments on commit 4a1a14c

Please sign in to comment.