From 39fa5af1a79f444ec31eb63d0baf299fc8bc7b7a Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Sat, 8 Jun 2013 23:31:37 -0400 Subject: If JS enabled, walled garden registration reload will not flicker --- views/default/js/walled_garden.php | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) (limited to 'views/default/js') diff --git a/views/default/js/walled_garden.php b/views/default/js/walled_garden.php index b15cf880a..09a478e93 100644 --- a/views/default/js/walled_garden.php +++ b/views/default/js/walled_garden.php @@ -10,7 +10,7 @@ $cancel_button = elgg_view('input/button', array( 'value' => elgg_echo('cancel'), 'class' => 'elgg-button-cancel mlm', )); -$cancel_button = trim($cancel_button); +$cancel_button = json_encode($cancel_button); if (0) { ?>