From e1f76e76a957ec33721d396352912213c78f3833 Mon Sep 17 00:00:00 2001 From: defacer Date: Tue, 8 Feb 2005 00:00:21 +0000 Subject: [PATCH] Give an id attribute to the "Add Blocks" block so that the new hide/show provisions in weblib don't print notices. --- lib/blocklib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } } -- 2.39.5