aboutsummaryrefslogtreecommitdiffstats
path: root/view/head.tpl
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-25 22:51:45 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-25 22:51:45 -0700
commit9f81c3345b40d635a34f0448dd625b17f20508c3 (patch)
tree6f284d707b8d05fd6c16baf6c1a69aea7f8dfcc6 /view/head.tpl
parent52a2c7eb46ea3b9509e48f29eca6f1c398a85538 (diff)
downloadvolse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.tar.gz
volse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.tar.bz2
volse-hubzilla-9f81c3345b40d635a34f0448dd625b17f20508c3.zip
fixup of some nits with live update and remote comment display on profile page
Diffstat (limited to 'view/head.tpl')
-rw-r--r--view/head.tpl14
1 files changed, 13 insertions, 1 deletions
diff --git a/view/head.tpl b/view/head.tpl
index d02f56c72..81ce1287f 100644
--- a/view/head.tpl
+++ b/view/head.tpl
@@ -19,6 +19,14 @@
$.ajaxSetup({cache: false});
msie = $.browser.msie ;
NavUpdate();
+
+// $('.wall-item-delete-icon').hover(function() {
+// $(this).attr("src",$(this).attr("src").replace('hide',''));
+// },function() {
+// $(this).attr("src",$(this).attr("src").replace('','hide'));
+// });
+
+
});
function NavUpdate() {
@@ -57,7 +65,7 @@
$.get('update_' + src + '?msie=' + ((msie) ? 1 : 0),function(data) {
$('.wall-item-outside-wrapper',data).each(function() {
var ident = $(this).attr('id');
- if($('#' + ident).length == 0) {
+ if($('#' + ident).length == 0) {
$('#' + prev).after($(this));
}
else { $('#' + ident).replaceWith($(this)); }
@@ -67,5 +75,9 @@
}
+ function confirmDelete() {
+ return confirm("Delete this item?");
+ }
+
</script>