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

This commit is contained in:
Kyeongdae 2015-07-10 15:13:07 +09:00
parent 8a6a8e6cfd
commit bc13035930
2 changed files with 5 additions and 1 deletions

View file

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

File diff suppressed because one or more lines are too long