aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/errors
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-01 22:49:31 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-01 22:49:31 +0000
commitaf335c48fc3f4a741e7b5650db46aac48183c244 (patch)
treefd2b6803c2db773ef5a5be4127e3112a3cc51d79 /views/default/messages/errors
parentc3277515ae8ad8aea53e53562fef01d339fcdeb1 (diff)
downloadelgg-af335c48fc3f4a741e7b5650db46aac48183c244.tar.gz
elgg-af335c48fc3f4a741e7b5650db46aac48183c244.tar.bz2
Fixes #2318: Adjusted system message markup + styles to work with ajax actions
git-svn-id: http://code.elgg.org/elgg/trunk@7185 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/messages/errors')
-rw-r--r--views/default/messages/errors/list.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/views/default/messages/errors/list.php b/views/default/messages/errors/list.php
index 922f23787..5f675715d 100644
--- a/views/default/messages/errors/list.php
+++ b/views/default/messages/errors/list.php
@@ -10,15 +10,13 @@
*/
if (!empty($vars['object']) && is_array($vars['object'])) {
-
-?>
-<div id="elgg_system_message" class="hidden radius8 error">
-<script type="text/javascript">$(document).ready(function(){ elgg_system_message() });</script>
-<?php
foreach($vars['object'] as $error) {
- echo elgg_view('messages/errors/error',array('object' => $error));
- }
?>
-</div>
+
+ <div class="elgg_system_message hidden radius8 error">
+ <?php echo elgg_view('messages/errors/error',array('object' => $error)); ?>
+ </div>
+
<?php
+ }
} \ No newline at end of file