mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Give an id attribute to the "Add Blocks" block so that the new hide/show
provisions in weblib don't print notices.
This commit is contained in:
parent
3524435159
commit
e1f76e76a9
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ function blocks_print_adminblock(&$page, &$pageblocks) {
|
|||
$target = $page->url_get_full(array('sesskey' => $USER->sesskey, 'blockaction' => 'add'));
|
||||
$content = popup_form($target.'&blockid=', $menu, 'add_block', '', $stradd .'...', '', '', true);
|
||||
$content = '<div style="text-align: center;">'. $content .'</div>';
|
||||
print_side_block($strblocks, $content, NULL, NULL, NULL);
|
||||
print_side_block($strblocks, $content, NULL, NULL, NULL, array('id' => 'block_adminblock'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue