rem: $('div.wiki.editable').each(function() { aj= new AjaxEdit(this); ajax_edits.push(aj); this.ajax_edit= aj; }); 
add: $(dom_element).find('div.chapter').each(function() { var chapter= this;  var children= $(this).children();  var chapter_name= chapter_count++;  $(this).addClass('edit_chapter');  $(this).editable('index.php?go=itemSaveField&item=' + item_id + '&field=description&chapter=' + chapter_name, { postload:'index.php?go=itemLoadField&item=' + item_id + '&field=description&chapter=' + chapter_name, type:'textarea', submit:'Save', cancel:'Cancel', chapter:true }); }); 
context:     $('div.wiki.editable').each(function() {        aj= new AjaxEdit(this);        ajax_edits.push(aj);        this.ajax_edit= aj;    });
meta: 2768	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2768/fb67ad72eb5a5a321499b36b8e4e5dc8854eff54/misc.js/buggy/js/misc.js