rem: var dlg = generic.getProcessDialog(w.caption, items.length, _startRestoring); 
add: var dlg = generic.getProcessDialog(w.getCaption(), items.length, _startRestoring); 
context: recycleBin.restoreItem = function(evt, w) {	var win = w.parent.owner.getParentByType(Window);	var items = win.getWidgetById("itemslist").getSelection();	if (!(items instanceof Array)) items = [items];	items.reverse();	var _startRestoring = function(w) {		w = w.callback_info || w;		if (items.length > 0) {			var item = items.pop();			var pb = w.getWidgetById("pb");			pb.increase(1);			pb.widgets[1].setCaption(item.displayName);			var xmlrpc = new XMLRPCRequest(QuiX.root + item.id);			xmlrpc.oncomplete = _startRestoring;			xmlrpc.callback_info = w;			xmlrpc.callmethod('restore');		}		else {			w.close();			recycleBin.getContainerInfo(win);		}	}	var dlg = generic.getProcessDialog(w.caption, items.length, _startRestoring);}
meta: 10647	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10647/518942f0c90293576bfd30f76b7710caefc24ee7/recycleBin.js/clean/porcupine/trunk/pubdir/scripts/recycleBin.js