mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 07:39:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ee2a89b7ce
commit
e7d5dd84e8
27 changed files with 395 additions and 279 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<filter name="insert" module="board" act="procInsert" confirm_msg_code="confirm_submit">
|
||||
<filter name="insert" module="board" act="procInsertDocument" confirm_msg_code="confirm_submit">
|
||||
<form>
|
||||
<node target="document_srl" required="true" />
|
||||
<node target="user_name" required="true" />
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<node target="title" required="true" minlength="1" maxlength="250" />
|
||||
<node target="content" required="true" />
|
||||
</form>
|
||||
<response>
|
||||
<response callback_func="completeDocumentInserted">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="mid" />
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
**/
|
||||
|
||||
/* 글쓰기 작성후 */
|
||||
function procInsert(ret_obj, response_tags) {
|
||||
function completeDocumentInserted(ret_obj) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
var mid = ret_obj['mid'];
|
||||
|
|
@ -17,6 +17,13 @@ function procInsert(ret_obj, response_tags) {
|
|||
location.href = url;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* 글 삭제 */
|
||||
function procDeleteDocument(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--%import("filter/filter.insert.xml")-->
|
||||
<!--%import("filter/insert.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert)" <!--@if($grant->fileupload)-->enctype="multipart/form-data"<!--@end-->>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue