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

@ -57,8 +57,15 @@ function completeMovePoll(ret_obj, response_tags) {
function getPollList()
{
var pollListTable = jQuery('#pollListTable');
var cartList = [];
pollListTable.find(':checkbox[name=cart]').each(function(){
if(this.checked) cartList.push(this.value);
});
var params = new Array();
var response_tags = ['error','message', 'poll_list'];
params["poll_srls"] = cartList.join(",");
exec_xml('poll','procPollGetList',params, completeGetPollList, response_tags);
}
@ -91,15 +98,3 @@ function completeGetPollList(ret_obj, response_tags)
}
jQuery('#pollManageListTable>tbody').html(htmlListBuffer);
}
function addCart(poll_index_srl) {
var params = new Array();
var response_tags = ['error','message'];
params['poll_index_srl'] = poll_index_srl;
exec_xml('poll','procPollAdminAddCart',params, completeAddCart, response_tags);
}
function completeAddCart(ret_obj, response_tags)
{
}