|
|
@ -405,7 +405,7 @@ function supConfigTpl(_name, version, func, config_tpl_func, read_config_tpl_fun |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$("#textBody").empty().text(rdata.data); |
|
|
|
$("#textBody").empty().html(rdata.data); |
|
|
|
$(".CodeMirror").remove(); |
|
|
|
$(".CodeMirror").remove(); |
|
|
|
var editor = CodeMirror.fromTextArea(document.getElementById("textBody"), { |
|
|
|
var editor = CodeMirror.fromTextArea(document.getElementById("textBody"), { |
|
|
|
extraKeys: { |
|
|
|
extraKeys: { |
|
|
@ -424,7 +424,7 @@ function supConfigTpl(_name, version, func, config_tpl_func, read_config_tpl_fun |
|
|
|
$(".CodeMirror-scroll").css({"height":"300px","margin":0,"padding":0}); |
|
|
|
$(".CodeMirror-scroll").css({"height":"300px","margin":0,"padding":0}); |
|
|
|
$("#onlineEditFileBtn").unbind('click'); |
|
|
|
$("#onlineEditFileBtn").unbind('click'); |
|
|
|
$("#onlineEditFileBtn").click(function(){ |
|
|
|
$("#onlineEditFileBtn").click(function(){ |
|
|
|
$("#textBody").text(editor.getValue()); |
|
|
|
$("#textBody").html(editor.getValue()); |
|
|
|
pluginConfigSave(fileName); |
|
|
|
pluginConfigSave(fileName); |
|
|
|
}); |
|
|
|
}); |
|
|
|
},'json'); |
|
|
|
},'json'); |
|
|
@ -500,7 +500,7 @@ function supLogs(_name, config_tpl_func, read_config_tpl_func,line){ |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$("#info_log").empty().text(rdata.data); |
|
|
|
$("#info_log").empty().html(rdata.data); |
|
|
|
},'json'); |
|
|
|
},'json'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
@ -533,7 +533,7 @@ function supLogs(_name, config_tpl_func, read_config_tpl_func,line){ |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$("#info_log").empty().text(rdata.data); |
|
|
|
$("#info_log").empty().html(rdata.data); |
|
|
|
},'json'); |
|
|
|
},'json'); |
|
|
|
|
|
|
|
|
|
|
|
clearLog(selected); |
|
|
|
clearLog(selected); |
|
|
|