Project

General

Profile

« Previous | Next » 

Revision 4484

redesign the look and feel - save point.
-cart editing is done by clicking individual assessments rather than doing them in batches.
-cart status is shown in the search results (but still need a refresh for after adding cart items from search...)

View differences:

search.js
28 28
	var index = 0;
29 29
	if (submitFormObj.docid.length > 1) {
30 30
		for (var i=0; i < submitFormObj.docid.length; i++) {
31
			if (submitFormObj.docid[i].checked) {
31
			if (submitFormObj.docid[i].value != "") {
32 32
				var documentObject = new Object();
33 33
				documentObject.docid = submitFormObj.docid[i].value;
34 34
				
......
44 44
	}
45 45
	else {
46 46
		//alert("submitFormObj.docid=" + submitFormObj.docid);
47
		if (submitFormObj.docid.checked) {
47
		if (submitFormObj.docid.value != "") {
48 48
			var documentObject = new Object();
49 49
			documentObject.docid = submitFormObj.docid.value;
50 50
			

Also available in: Unified diff