updae
This commit is contained in:
@@ -112,8 +112,8 @@ $("body").on('click', '#globalEditBtn', function(e) {
|
||||
data: {},
|
||||
dataType: "json",
|
||||
success: function (ret) {
|
||||
if (ret) {
|
||||
window.location.href = '/flaskcode?open=' + file;
|
||||
if (ret.ret) {
|
||||
window.open('/flaskcode?open=' + file, ret.target);
|
||||
} else {
|
||||
notify('편집기 플러그인을 설치해야 합니다.', 'warning');
|
||||
}
|
||||
@@ -160,11 +160,11 @@ function shutdown_confirm() {
|
||||
|
||||
var select_local_file_modal_callback = null;
|
||||
|
||||
function selectLocalFile(title, init_path, func) {
|
||||
function globalSelectLocalFile(title, init_path, func) {
|
||||
_selectLocalFileModal(title, init_path, false, func);
|
||||
}
|
||||
|
||||
function selectLocalFolder(title, init_path, func) {
|
||||
function globalSelectLocalFolder(title, init_path, func) {
|
||||
_selectLocalFileModal(title, init_path, true, func);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user