diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index dc0143f..e4b0dca 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -109,5 +109,9 @@ In chronological order: * Craig P Hicks @craigphicks * Fix sub urls configurations on admin interface +* Chris Warrick @Kwpolska + * Update Polish translation + * Redirect to comment after moderation + * [Your name or handle] <[email or website]> * [Brief summary of your changes] diff --git a/isso/views/comments.py b/isso/views/comments.py index aaf4568..699d66b 100644 --- a/isso/views/comments.py +++ b/isso/views/comments.py @@ -6,6 +6,7 @@ import re import cgi import time import functools +import json # json.dumps to put URL in " % action.capitalize()) + "" % (action.capitalize(), json.dumps(link))) return Response(modal, 200, content_type="text/html") @@ -627,7 +636,6 @@ class API(object): return Response("Already activated", 200) with self.isso.lock: self.comments.activate(id) - thread = self.threads.get(item['tid']) self.signal("comments.activate", thread, item) return Response("Yo", 200) elif action == "edit":