mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Clean up some admin scripts
This commit is contained in:
parent
a1e5a51b06
commit
8e85abf97e
2 changed files with 27 additions and 29 deletions
|
|
@ -1,16 +1,17 @@
|
|||
|
||||
function doCancelDeclare() {
|
||||
var comment_srl = new Array();
|
||||
jQuery('#fo_list input[name="cart[]"]:checked').each(function() {
|
||||
comment_srl[comment_srl.length] = jQuery(this).val();
|
||||
$('#fo_list input[name="cart[]"]:checked').each(function() {
|
||||
comment_srl.push($(this).val());
|
||||
});
|
||||
if (comment_srl.length < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(comment_srl.length<1) return;
|
||||
|
||||
var params = new Array();
|
||||
params['comment_srl'] = comment_srl.join(',');
|
||||
|
||||
exec_xml('comment','procCommentAdminCancelDeclare', params, function() { location.reload(); });
|
||||
var params = { comment_srl: comment_srl.join(',') };
|
||||
Rhymix.ajax('comment.procCommentAdminCancelDeclare', params, function() {
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
function insertSelectedModule(id, module_srl, mid, browser_title) {
|
||||
|
|
@ -26,7 +27,7 @@ function getCommentList()
|
|||
var commentListTable = jQuery('#commentListTable');
|
||||
var cartList = [];
|
||||
commentListTable.find(':checkbox[name=cart]').each(function(){
|
||||
if(this.checked) cartList.push(this.value);
|
||||
if(this.checked) cartList.push(this.value);
|
||||
});
|
||||
|
||||
var params = new Array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue