Fixed : exec_xml이 정상적으로 동작하지 않던 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-04-21 03:24:57 +00:00
parent feb2a1e054
commit a16caaed61

View file

@ -199,14 +199,14 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
if ($.isArray(ssl_actions) && params['act'] && $.inArray(params['act'], ssl_actions) >= 0)
{
var url = default_url || request_uri;
var port = https_port || 443;
var port = window.https_port || 443;
var _ul = $('<a>').attr('href', url)[0];
var target = 'https://' + _ul.hostname.replace(/:\d+$/, '');
if(port != 443) target += ':'+port;
if(_ul.pathname[0] != '/') target += '/';
target += ul.pathname;
target += _ul.pathname;
xml_path = target.replace(/\/$/, '')+'/index.php';
}