equal
deleted
inserted
replaced
291 if (comment != null) { |
291 if (comment != null) { |
292 var path = gDb.getPath(comment) ; |
292 var path = gDb.getPath(comment) ; |
293 var topParentComment = path[path.length - 1] ; |
293 var topParentComment = path[path.length - 1] ; |
294 var focusComment = gDb.getCommentByIdKey(id_key); |
294 var focusComment = gDb.getCommentByIdKey(id_key); |
295 // if comment_op=reply, show reply form |
295 // if comment_op=reply, show reply form |
296 if ("comment_op" in gGETValues) { |
296 if ("comment_op" in gGETValues && gGETValues["comment_op"] == 'reply') { |
297 gSync.showFocusSingleComment(topParentComment, focusComment, true) ; |
297 gSync.showFocusSingleComment(topParentComment, focusComment, true) ; |
298 } |
298 } |
299 else { |
299 else { |
300 gSync.showFocusSingleComment(topParentComment, focusComment, false) ; |
300 gSync.showFocusSingleComment(topParentComment, focusComment, false) ; |
301 } |
301 } |