From cc041eef8cd45e535ba702e46822d10f6939bfc5 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 26 Apr 2012 00:51:30 +0000 Subject: [PATCH] Users should be warned before getting their karma points decreased to certain values on reputation award git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1255 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/media/js/osqa.main.js | 18 ++++-- .../default/templates/node/award_points.html | 61 ++++++++++++++----- forum/templatetags/node_tags.py | 2 +- forum/views/commands.py | 6 +- 4 files changed, 65 insertions(+), 22 deletions(-) diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index 89a59ef..c8b8783 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -173,7 +173,7 @@ function show_dialog (extern) { $diag.fadeOut('fast', function() { $diag.remove(); }); - } + }; var options = { extra_class: '', @@ -201,7 +201,7 @@ function show_dialog (extern) { options.pos = {x: options.event.pageX, y: options.event.pageY}; } - var html = '