mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
Issue 2617 added send message in communication module
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12267 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d146313145
commit
76b100e076
10 changed files with 233 additions and 43 deletions
22
modules/communication/m.skins/default/js/communication.js
Normal file
22
modules/communication/m.skins/default/js/communication.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* 개별 쪽지 삭제 */
|
||||
function doDeleteMessage(message_srl) {
|
||||
if(!message_srl) return;
|
||||
if(!confirm(confirm_delete_msg)) return;
|
||||
|
||||
var params = new Array();
|
||||
params['message_srl'] = message_srl;
|
||||
exec_xml('communication', 'procCommunicationDeleteMessage', params, completeDeleteMessage);
|
||||
}
|
||||
|
||||
function completeDeleteMessage(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.href = current_url.setQuery('message_srl','');
|
||||
}
|
||||
|
||||
function mergeContents()
|
||||
{
|
||||
var $form = jQuery('#fo_comm');
|
||||
var content = $form.find('textarea[name=new_content]').val() + $form.find('input[name=source_content]').val();
|
||||
$form.find('input[name=content]').val(content);
|
||||
$form.submit();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue