issue 70 change list check all, because session not use.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8847 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-23 11:36:03 +00:00
parent 569e972e07
commit 85f921f9e9
15 changed files with 66 additions and 107 deletions

View file

@ -17,22 +17,21 @@ function insertSelectedModule(id, module_srl, mid, browser_title) {
location.href = current_url.setQuery('module_srl',module_srl);
}
function addCart(comment_srl) {
var params = new Array();
var response_tags = ['error','message'];
params['comment_srl'] = comment_srl;
exec_xml('comment','procCommentAdminAddCart',params, completeAddCart, response_tags);
}
function completeAddCart(ret_obj, response_tags)
{
}
function getCommentList()
{
var commentListTable = jQuery('#commentListTable');
var cartList = [];
commentListTable.find(':checkbox[name=cart]').each(function(){
if(this.checked) cartList.push(this.value);
});
var params = new Array();
var response_tags = ['error','message', 'comment_list'];
params["comment_srls"] = cartList.join(",");
exec_xml('comment','procCommentGetList',params, completeGetCommentList, response_tags);
}