From: defacer Date: Tue, 8 Feb 2005 00:00:21 +0000 (+0000) Subject: Give an id attribute to the "Add Blocks" block so that the new hide/show X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e1f76e76a957ec33721d396352912213c78f3833;p=moodle.git Give an id attribute to the "Add Blocks" block so that the new hide/show provisions in weblib don't print notices. --- diff --git a/lib/blocklib.php b/lib/blocklib.php index fc9d00c972..467aba0b09 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -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 = '
'. $content .'
'; - print_side_block($strblocks, $content, NULL, NULL, NULL); + print_side_block($strblocks, $content, NULL, NULL, NULL, array('id' => 'block_adminblock')); } }