mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 09:39:58 +09:00
Fix #1877 allow moving archived messages back to the inbox
This commit is contained in:
parent
8b6e1949b0
commit
afdc450b00
7 changed files with 64 additions and 9 deletions
|
|
@ -27,10 +27,20 @@ function completeDeleteMessage(ret_obj) {
|
|||
/* 개별 쪽지 보관 */
|
||||
function doStoreMessage(message_srl) {
|
||||
if(!message_srl) return;
|
||||
var params = { message_srl: message_srl };
|
||||
exec_json('communication.procCommunicationStoreMessage', params, function(data) {
|
||||
alert(data.message);
|
||||
location.href = current_url.setQuery('message_type', 'T');
|
||||
});
|
||||
}
|
||||
|
||||
var params = new Array();
|
||||
params['message_srl'] = message_srl;
|
||||
exec_xml('communication', 'procCommunicationStoreMessage', params, completeStoreMessage);
|
||||
function doRestoreMessage(message_srl) {
|
||||
if(!message_srl) return;
|
||||
var params = { message_srl: message_srl };
|
||||
exec_json('communication.procCommunicationRestoreMessage', params, function(data) {
|
||||
alert(data.message);
|
||||
location.href = current_url.setQuery('message_type', 'R');
|
||||
});
|
||||
}
|
||||
|
||||
function completeStoreMessage(ret_obj) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue