Fix #1877 allow moving archived messages back to the inbox

This commit is contained in:
Kijin Sung 2022-12-20 01:27:19 +09:00
parent 8b6e1949b0
commit afdc450b00
7 changed files with 64 additions and 9 deletions

View file

@ -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) {