diff media/js/forums.js @ 109:07be3e39e639

Forums: implemented topic level moderator controls.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Sep 2009 18:03:57 +0000
parents 80ab249d1adc
children 3ae999b0c53b
line wrap: on
line diff
--- a/media/js/forums.js	Sat Sep 26 03:55:50 2009 +0000
+++ b/media/js/forums.js	Sat Sep 26 18:03:57 2009 +0000
@@ -78,5 +78,9 @@
      }
      return false;
    });
+   $('#forum-mod-del-topic').click(function () {
+         return confirm('Are you sure you want to delete this topic?\n' +
+            'WARNING: all posts will be lost.');
+   });
    $('#id_body').markItUp(mySettings);
 });