aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/core/walled_garden/login.php10
-rw-r--r--views/default/js/walled_garden.php1
2 files changed, 11 insertions, 0 deletions
diff --git a/views/default/core/walled_garden/login.php b/views/default/core/walled_garden/login.php
index 42b79607d..db9ce3310 100644
--- a/views/default/core/walled_garden/login.php
+++ b/views/default/core/walled_garden/login.php
@@ -29,3 +29,13 @@ echo <<<HTML
</div>
</div>
HTML;
+
+if (elgg_is_sticky_form('register')) {
+?>
+<script type="text/javascript">
+ elgg.register_hook_handler('init', 'system', function(){
+ elgg.walled_garden.load('register')($.Event("click"));
+ });
+</script>
+<?php
+}
diff --git a/views/default/js/walled_garden.php b/views/default/js/walled_garden.php
index 7a482fe23..b15cf880a 100644
--- a/views/default/js/walled_garden.php
+++ b/views/default/js/walled_garden.php
@@ -42,6 +42,7 @@ elgg.walled_garden.load = function(view) {
return function(event) {
var id = '#elgg-walledgarden-' + view;
id = id.replace('_', '-');
+ //@todo display some visual element that indicates that loading of content is running
elgg.get('walled_garden/' + view, {
'success' : function(data) {
$('.elgg-body-walledgarden').append(data);