git-svn-id: http://xe-core.googlecode.com/svn/trunk@1588 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-11 02:36:36 +00:00
parent 11f5900984
commit 3b9f07a90d

View file

@ -4,6 +4,18 @@
* @brief blog 모듈의 javascript * @brief blog 모듈의 javascript
**/ **/
/**
* url에 #comment_번호가 있을 경우 댓글창을 열고 위치 이동
**/
if(location.href.indexOf('#comment')>0) {
function openCommentAndMove() {
doDisplayComment(current_url.getQuery('document_srl'));
location.href = location.href;
}
xAddEventListener(window,'load', openCommentAndMove);
}
/** /**
* 댓글 오픈 * 댓글 오픈
* 댓글의 경우 editor를 동반해서 불러야 하기에 ajax로 tpl파일을 가져와서 쓰는걸로 한다. * 댓글의 경우 editor를 동반해서 불러야 하기에 ajax로 tpl파일을 가져와서 쓰는걸로 한다.