src/cm/media/js/site/c_text_view_comments.js
changeset 329 00df963f91fb
parent 276 0e0884a093bc
child 337 614669e0e313
equal deleted inserted replaced
328:2a6033ca510e 329:00df963f91fb
   289 				var id_key = gGETValues["comment_id_key"] ;
   289 				var id_key = gGETValues["comment_id_key"] ;
   290 				var comment = gDb.getCommentByIdKey(id_key) ;
   290 				var comment = gDb.getCommentByIdKey(id_key) ;
   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 					gSync.showSingleComment(topParentComment) ;
   294           var focusComment = gDb.getCommentByIdKey(id_key);
       
   295 					gSync.showFocusSingleComment(topParentComment, focusComment) ;
   295 				}
   296 				}
   296 			}
   297 			}
   297 			
   298 			
   298 			// if comment_auto_display: show all comments
   299 			// if comment_auto_display: show all comments
   299 			if ("comments_auto_display" in gGETValues) {
   300 			if ("comments_auto_display" in gGETValues) {