Commit b6839bb0 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Need to load wall block the non-ajaxify way (Bug #1423768)



The wall post form fails to work when block loaded via ajax

Change-Id: Ic0414ab7b69ee821815162b749217cb377950d20
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 7ab238fe
...@@ -13,6 +13,10 @@ defined('INTERNAL') || die(); ...@@ -13,6 +13,10 @@ defined('INTERNAL') || die();
class PluginBlocktypeWall extends SystemBlocktype { class PluginBlocktypeWall extends SystemBlocktype {
public static function should_ajaxify() {
return false;
}
public static function get_title() { public static function get_title() {
return get_string('title', 'blocktype.wall'); return get_string('title', 'blocktype.wall');
} }
......
Supports Markdown
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