aboutsummaryrefslogtreecommitdiff
path: root/views/default/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/graphics')
-rw-r--r--views/default/graphics/ajax_loader.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/graphics/ajax_loader.php b/views/default/graphics/ajax_loader.php
index b1f35971a..e539188f2 100644
--- a/views/default/graphics/ajax_loader.php
+++ b/views/default/graphics/ajax_loader.php
@@ -4,11 +4,17 @@
*
* @package Elgg
* @subpackage Core
+ *
+ * @uses $vars['id']
*/
+if (isset($vars['internalid'])) {
+ $id = "id=\"{$vars['internalid']}\"";
+}
+
$loader = <<< END
-<div align="center" class="ajax-loader hidden"></div>
+<div align="center" class="ajax-loader hidden" $id></div>
END;