rem: for (var i=0; i<data.length; i++) if (data[i].profile == 'Editor') 
add: if (data.length == 0) alert(loader.getText('noEditors')); else for (var i=0; i<data.length; i++) 
context: function init_OK(data){	for (var i=0; i<data.length; i++)		if (data[i].profile == 'Editor')			view.addSourceUser(data[i].id, data[i].surname +' '+ data[i].name);				}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/3147b490e5b245318c6348f918d74c5278bab41e/transfer-ownership.js/buggy/web/geonetwork/scripts/ownership/transfer-ownership.js