Commit ff796d35 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix clobbered pieform_element_*_views_js in block configuration forms

Commit 9496078b

 overwrote the $js variable in build_configure_form,
losing any inline javascript from the form's elements.

Change-Id: I541d510134b238789fbcea88512ed12889a2e7ab
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 9087b984
......@@ -900,7 +900,7 @@ class BlockInstance {
$configjs = call_static_method($blocktypeclass, 'get_instance_config_javascript', $this);
if (is_array($configjs)) {
$js = $this->get_get_javascript_javascript($configjs);
$js .= $this->get_get_javascript_javascript($configjs);
}
else if (is_string($configjs)) {
$js .= $configjs;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment