선택적 SSL 환경서 관리자 에디터 파일 첨부가 안되는 문제.

This commit is contained in:
Kyeongdae 2015-07-10 15:13:07 +09:00 committed by bnu
parent 133979b896
commit 9f6c98c93c
2 changed files with 5 additions and 1 deletions

View file

@ -60,6 +60,8 @@
last_selected_file: null, last_selected_file: null,
}); });
var currentEnforce_ssl = window.enforce_ssl;
if(location.protocol == 'https:') { window.enforce_ssl = true; }
var settings = { var settings = {
url: request_uri url: request_uri
@ -122,6 +124,8 @@
} }
} }
}; };
window.enforce_ssl = currentEnforce_ssl;
data.settings = $.extend({} , default_settings, settings, opt || {}); data.settings = $.extend({} , default_settings, settings, opt || {});
$container.data(data); $container.data(data);

File diff suppressed because one or more lines are too long