rem: var accountArray = dgGetAllIds(); 
add: var accountArray = dataGridAccountManagerStatistic.getAllIds(); 
context: function submitSelect() {	var url = "../../modules/statistics/statistics.php"	var form = document.getElementById("selectForm");		var dateFormat = $F("dateFormat");	var errorMsgAccountMissing = $F("errorMsgAccountMissing");	var errorMsgStartBeforeEnd = $F("errorMsgStartBeforeEnd");	var errorMsgEndInFuture = $F("errorMsgEndInFuture");		url += "?mode=" + (form.elements["mode"][0].checked ? "trendData" : "categoryData");			var accountIds = '';	var first = true;	var accountArray = dgGetAllIds();		if (accountArray.length == 0) {		alert(errorMsgAccountMissing);		return;	}		for (i = 0; i < accountArray.length; i++) {		if (!first) {			accountIds += ",";		} else {			first = false;		}				accountIds += accountArray[i];	}		var startDateStr = parseDate(form.startDate.value, dateFormat);	var endDateStr = parseDate(form.endDate.value, dateFormat);		if (dateCompare(startDateStr, endDateStr) >= 0) {		alert(errorMsgStartBeforeEnd);		return;	}		var now = new Date();	var nowStr = now.getFullYear() + "-" + (now.getMonth() + 1) + "-" + now.getDate();	if (dateCompare(endDateStr, nowStr) > 0) {		alert(errorMsgEndInFuture);		return;	}	url += "&accounts=" + 	accountIds;		url += "&startDate=" + startDateStr;		url += "&endDate=" + endDateStr;		url += "&type=" + (form.elements["type"][0].checked ? "i" : "o");		url += "&summarize=" + (form.elements["summarize"][0].checked ? "t" : "f");	//alert(url);	writeFlash(encodeURIComponent(url));		flashContainer = $("flashContainer");	window.scrollTo(0, flashContainer.offsetTop);	return;}
meta: 8910	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8910/036b201a5127c728c60ed22dded26e5e98185ab9/statistics.js/clean/trunk/js/statistics.js