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

@ -2,21 +2,16 @@ function insertSelectedModule(id, module_srl, mid, browser_title) {
location.href = current_url.setQuery('module_srl',module_srl);
}
function addCart(file_srl) {
var params = new Array();
var response_tags = ['error','message'];
params['file_srl'] = file_srl;
exec_xml('file','procFileAdminAddCart',params, completeAddCart, response_tags);
}
function completeAddCart(ret_obj, response_tags)
{
}
function getFileList() {
var fileListTable = jQuery('#fileListTable');
var cartList = [];
fileListTable.find(':checkbox[name=cart]').each(function(){
if(this.checked) cartList.push(this.value);
});
var params = new Array();
var response_tags = ['error','message', 'file_list'];
params["file_srls"] = cartList.join(",");
exec_xml('file','procFileGetList',params, completeGetFileList, response_tags);
}
@ -37,7 +32,6 @@ function completeGetFileList(ret_obj, response_tags)
for(var x in file_list)
{
var objFile = file_list[x];
console.log(objFile);
htmlListBuffer += '<tr>' +
'<td class="text">'+objFile.source_filename+'</td>' +
'<td>'+objFile.human_file_size+'</td>' +