rem: box.linkedLessonsObj.linkObj.addLink ( 
add: box.getField("LinkedLessons").linkObj.addLink ( 
context: function lessonAddButtonClicked (){	div = addLesson.div	div.style.visibility = "hidden"	// Everything we do here will be in the backend.  Tell the web-server	// to add this lesson to the selected box.	// Determine which entry is selected	var selectedObj	for (lesson in this.classObj.lessonObjs)	{		if (this.classObj.lessonObjs[lesson].selected)		{			selectedObj = this.classObj.lessonObjs[lesson]			break		}	}	if (!selectedObj)		return    // When we modify the link object, it will signal    // the box to save itself.	box.linkedLessonsObj.linkObj.addLink (        selectedObj.linkID,        selectedObj.fieldName,        selectedObj.desc, 0, "")}
meta: 4793	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4793/cb81ced60c4a7353d1a8b7619cd6ff102c22c261/add_lesson.js/buggy/teaching_boxes/web/scripts/box/add_lesson.js