From: Steve Clay Date: Sun, 9 Jun 2013 03:31:37 +0000 (-0400) Subject: If JS enabled, walled garden registration reload will not flicker X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=39fa5af1a79f444ec31eb63d0baf299fc8bc7b7a;p=lorea%2Felgg.git If JS enabled, walled garden registration reload will not flicker --- diff --git a/views/default/core/walled_garden/login.php b/views/default/core/walled_garden/login.php index 54af90f67..42b79607d 100644 --- a/views/default/core/walled_garden/login.php +++ b/views/default/core/walled_garden/login.php @@ -29,13 +29,3 @@ echo << HTML; - -if (elgg_is_sticky_form('register')) { -?> - - elgg_echo('cancel'), 'class' => 'elgg-button-cancel mlm', )); -$cancel_button = trim($cancel_button); +$cancel_button = json_encode($cancel_button); if (0) { ?> + \ No newline at end of file