aboutsummaryrefslogtreecommitdiffstats
path: root/view/head.tpl
diff options
context:
space:
mode:
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>