r6201에서 가상사이트에서의 vid 파라메터 부분 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6202 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-27 07:32:12 +00:00
parent 011efbdb6a
commit 43d7e944d1

View file

@ -24,7 +24,7 @@ function setText() {
var text = target.value;
text.replace(/&/ig,'&amp;').replace(/</ig,'&lt;').replace(/>/ig,'&gt;');
var url = request_uri.setQuery('mid',current_mid).setQuery('entry',text);
if(typeof(xeVid)!='undefined') url.setQuery('vid', xeVid);
if(typeof(xeVid)!='undefined') url = url.setQuery('vid', xeVid);
var link = "<a href=\""+url+"\" ";
link += ">"+text+"</a>";