|
|
@ -269,6 +269,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
$('#frmInsert').children('#pick_img_index').val(pick_img_index);
|
|
|
|
$('#frmInsert').children('#pick_img_index').val(pick_img_index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($("#title").val() =="") {
|
|
|
|
|
|
|
|
alert("제목을 입력하세요!");
|
|
|
|
|
|
|
|
$("#title").focus();
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if($("#content").val() =="") {
|
|
|
|
|
|
|
|
alert("내용을 입력하세요!");
|
|
|
|
|
|
|
|
$("#content").focus();
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
var tag_params = '';
|
|
|
|
var tag_params = '';
|
|
|
|
$('#array_tag span.tag').each(function( index ) {
|
|
|
|
$('#array_tag span.tag').each(function( index ) {
|
|
|
|
tag_params += $( this ).text() + ',';
|
|
|
|
tag_params += $( this ).text() + ',';
|
|
|
|