bug fixe ?
This commit is contained in:
parent
a08a5287fc
commit
05a41ebf3a
@ -27,13 +27,13 @@ function materio_flag_refresh_block($flag){
|
||||
$block_rendered = drupal_render($build);
|
||||
$rep['block'] = $block_rendered;
|
||||
|
||||
if(isset($block_nav_name))
|
||||
if(isset($block_nav_name)){
|
||||
$block = block_load('materio_flag', $block_nav_name);
|
||||
$block_content = _block_render_blocks(array($block));
|
||||
$build = _block_get_renderable_array($block_content);
|
||||
$block_rendered = drupal_render($build);
|
||||
$rep['block_nav'] = $block_rendered;
|
||||
|
||||
}
|
||||
|
||||
drupal_json_output($rep);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user