mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
#19745697 trash module makem
document, comment module modify, because object in to trash and trash restore to object feature git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8388 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9e04e84a65
commit
8f3df45a2a
30 changed files with 949 additions and 34 deletions
33
modules/trash/tpl/js/trash_admin.js
Normal file
33
modules/trash/tpl/js/trash_admin.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/**
|
||||
* @file modules/trash/js/trash_admin.js
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief trash 모듈의 관리자용 javascript
|
||||
**/
|
||||
|
||||
|
||||
/* 휴지통 비우기 후 */
|
||||
function completeEmptyTrash(ret_obj) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
|
||||
alert(message);
|
||||
if(error == '0') window.location.reload();
|
||||
}
|
||||
|
||||
function goRestore(trash_srl)
|
||||
{
|
||||
if(confirm(confirm_restore_msg))
|
||||
{
|
||||
var params = {'trash_srl':trash_srl};
|
||||
exec_xml('admin', 'procTrashAdminRestore', params, completeRestore);
|
||||
}
|
||||
}
|
||||
|
||||
function completeRestore(ret_obj)
|
||||
{
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
|
||||
alert(message);
|
||||
if(error == '0') window.location.reload();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue