diff -r 3c21b9097908 -r e7e1bc64f613 src/cm/media/js/site/c_text_view_comments.js --- a/src/cm/media/js/site/c_text_view_comments.js Wed Feb 03 20:55:30 2010 +0100 +++ b/src/cm/media/js/site/c_text_view_comments.js Wed Feb 03 21:49:04 2010 +0100 @@ -276,9 +276,9 @@ parent.f_removeLoadingMsg(); } // if there is a comment id in the url display it - if ("comment_key" in gGETValues) { - var key = gGETValues["comment_key"] ; - var comment = gDb.getCommentByKey(key) ; + if ("comment_id_key" in gGETValues) { + var id_key = gGETValues["comment_id_key"] ; + var comment = gDb.getCommentByIdKey(id_key) ; if (comment != null) { var path = gDb.getPath(comment) ; var topParentComment = path[path.length - 1] ;