equal
deleted
inserted
replaced
274 if (gLayout.isInFrame()) { |
274 if (gLayout.isInFrame()) { |
275 parent.f_interfaceUnfreeze() ; |
275 parent.f_interfaceUnfreeze() ; |
276 parent.f_removeLoadingMsg(); |
276 parent.f_removeLoadingMsg(); |
277 } |
277 } |
278 // if there is a comment id in the url display it |
278 // if there is a comment id in the url display it |
279 if ("comment_key" in gGETValues) { |
279 if ("comment_id_key" in gGETValues) { |
280 var key = gGETValues["comment_key"] ; |
280 var id_key = gGETValues["comment_id_key"] ; |
281 var comment = gDb.getCommentByKey(key) ; |
281 var comment = gDb.getCommentByIdKey(id_key) ; |
282 if (comment != null) { |
282 if (comment != null) { |
283 var path = gDb.getPath(comment) ; |
283 var path = gDb.getPath(comment) ; |
284 var topParentComment = path[path.length - 1] ; |
284 var topParentComment = path[path.length - 1] ; |
285 gSync.showSingleComment(topParentComment) ; |
285 gSync.showSingleComment(topParentComment) ; |
286 } |
286 } |