mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-11159 adding a name to block config form for javascript support
This commit is contained in:
parent
d93a90dcfd
commit
f359b6121c
@ -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 .'" />';
|
||||
|
Loading…
x
Reference in New Issue
Block a user