]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fix for displaying auto save time. HTML was changed without relevent JS updates.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Jun 2010 19:28:50 +0000 (19:28 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Jun 2010 19:28:50 +0000 (19:28 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6387 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/views/default/blog/forms/edit.php

index 48d47730c691fa555d0148cf493c87c88eb22f30..c8120f14dfc991ed6493666ec4cbb7d8ccd1b9e4 100644 (file)
@@ -249,9 +249,9 @@ elgg_clear_sticky_form('blog');
                        var d = new Date();
                        var mins = d.getMinutes() + '';
                        if (mins.length == 1) mins = '0' + mins;
-                       $("#blog_save_status_time").html(d.toLocaleDateString() + " @ " + d.getHours() + ":" + mins);
+                       $(".blog_save_status_time").html(d.toLocaleDateString() + " @ " + d.getHours() + ":" + mins);
                } else {
-                       $("#blog_save_status_time").html("<?php echo elgg_echo('error'); ?>");
+                       $(".blog_save_status_time").html("<?php echo elgg_echo('error'); ?>");
                }
        }