gitignore merge 충돌수정
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,7 +6,7 @@ sirgle/
|
|||||||
test.php
|
test.php
|
||||||
*.key
|
*.key
|
||||||
*.sh
|
*.sh
|
||||||
cheditor5/
|
|
||||||
log
|
log
|
||||||
g5_tree
|
g5_tree
|
||||||
|
cheditor*/
|
||||||
ckeditor43/
|
ckeditor43/
|
||||||
|
|||||||
@ -7,9 +7,9 @@ var save_wr_content = null;
|
|||||||
|
|
||||||
function autosave() {
|
function autosave() {
|
||||||
$("form#fwrite").each(function() {
|
$("form#fwrite").each(function() {
|
||||||
if (g5_editor=="ckeditor4" && typeof(CKEDITOR.instances.wr_content)!="undefined") {
|
if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") {
|
||||||
this.wr_content.value = CKEDITOR.instances.wr_content.getData();
|
this.wr_content.value = CKEDITOR.instances.wr_content.getData();
|
||||||
} else if (g5_editor=="cheditor5" && typeof(ed_wr_content)!="undefined") {
|
} else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") {
|
||||||
this.wr_content.value = ed_wr_content.outputBodyHTML();
|
this.wr_content.value = ed_wr_content.outputBodyHTML();
|
||||||
}
|
}
|
||||||
// 변수에 저장해 놓은 값과 다를 경우에만 임시 저장함
|
// 변수에 저장해 놓은 값과 다를 경우에만 임시 저장함
|
||||||
@ -75,9 +75,9 @@ $(function(){
|
|||||||
var subject = $(data).find("item").find("subject").text();
|
var subject = $(data).find("item").find("subject").text();
|
||||||
var content = $(data).find("item").find("content").text();
|
var content = $(data).find("item").find("content").text();
|
||||||
$("#wr_subject").val(subject);
|
$("#wr_subject").val(subject);
|
||||||
if (g5_editor=="ckeditor4" && typeof(CKEDITOR.instances.wr_content)!="undefined") {
|
if (g5_editor.indexOf("ckeditor4") != -1 && typeof(CKEDITOR.instances.wr_content)!="undefined") {
|
||||||
CKEDITOR.instances.wr_content.setData(content);
|
CKEDITOR.instances.wr_content.setData(content);
|
||||||
} else if (g5_editor=="cheditor5" && typeof(ed_wr_content)!="undefined") {
|
} else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") {
|
||||||
ed_wr_content.putContents(content);
|
ed_wr_content.putContents(content);
|
||||||
} else {
|
} else {
|
||||||
$("#fwrite #wr_content").val(content);
|
$("#fwrite #wr_content").val(content);
|
||||||
|
|||||||
Reference in New Issue
Block a user