mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1588 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
11f5900984
commit
3b9f07a90d
1 changed files with 12 additions and 0 deletions
|
|
@ -4,6 +4,18 @@
|
|||
* @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파일을 가져와서 쓰는걸로 한다.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue