MDL-11159 adding a name to block config form for javascript support

This commit is contained in:
jmg324 2007-09-07 14:49:30 +00:00
parent d93a90dcfd
commit f359b6121c

View File

@ -524,7 +524,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
echo '<div class="block-config" id="'.$block->name.'">'; /// Make CSS easier
print_heading($strheading);
echo '<form method="post" action="'. $page->url_get_path() .'">';
echo '<form method="post" name="block-config" action="'. $page->url_get_path() .'">';
echo '<p>';
foreach($hiddendata as $name => $val) {
echo '<input type="hidden" name="'. $name .'" value="'. $val .'" />';