rem: var form, compopage_path, title; var target_path = escape(target.getAttribute("target_path")); var target_index = escape(target.getAttribute("target_index")); form = document.forms.modify_composites; compopage_path = form.elements.composite_path.value; title = escape(prompt('Input the title value', 'a title')); 
add: var form = document.forms.modify_composites; var compopage_path = form.elements.composite_path.value; var title = prompt('Input the title value', 'a title'); var target_path = target.getAttribute("target_path"); var target_index = target.getAttribute("target_index"); 
context: function plone_add_title(target) {  // Note that target_index is also available.  var form, compopage_path, title;  var target_path = escape(target.getAttribute("target_path"));  var target_index = escape(target.getAttribute("target_index"));  form = document.forms.modify_composites;  compopage_path = form.elements.composite_path.value;  title = escape(prompt('Input the title value', 'a title'));  url = "createCompoTitle?target_path=" + target_path;  url = url + "&target_index=" + target_index;  url = url + "&compopage_path=" + compopage_path;  url = url + "&title=" + title;  window.document.location = url;}
meta: 7877	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7877/d1bb0b31bfd0cbe4e6b413142dd1645ebdd94c49/plone_edit.js/clean/plone/plone_edit.js