mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
제목필드가 없을 경우에도 자동 저장이 되도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1953 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d160d28dcb
commit
df25a353d8
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ function _editorAutoSave() {
|
||||||
if(fo_obj && upload_target_srl) {
|
if(fo_obj && upload_target_srl) {
|
||||||
var title = fo_obj.title.value;
|
var title = fo_obj.title.value;
|
||||||
var content = editorGetContent(upload_target_srl);
|
var content = editorGetContent(upload_target_srl);
|
||||||
if(title.trim() != _autoSaveObj.title.trim() || content.trim() != _autoSaveObj.content.trim()) {
|
if((fo_obj.title && title.trim() != _autoSaveObj.title.trim()) || content.trim() != _autoSaveObj.content.trim()) {
|
||||||
var params = new Array();
|
var params = new Array();
|
||||||
params["document_srl"] = upload_target_srl;
|
params["document_srl"] = upload_target_srl;
|
||||||
params["title"] = title;
|
params["title"] = title;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue