rem: removeAllGroupRows(); 
add: this.removeAllGroupRows(); this.addGroupRows(node); 
context: function setData(node){	var site   = node.getElementsByTagName('site')      [0];	var privil = node.getElementsByTagName('privileges')[0];	var options= node.getElementsByTagName('options')   [0];	$('wd.name').value = node.getAttribute('name');		hvutil.setOption(site, 'url',      'wd.url');	hvutil.setOption(site, 'use',      'wd.useAccount');	hvutil.setOption(site, 'username', 'wd.username');	hvutil.setOption(site, 'password', 'wd.password');		//--- add privileges entries		removeAllGroupRows();		var privList = privil.getElementsByTagName('group');		for (var i=0; i<privList.length; i++)		addGroupRow(privList[i]);		//--- setup other stuff		hvutil.setOption(options, 'oneRunOnly', 'wd.oneRunOnly');	hvutil.setOption(options, 'structure',  'wd.structure');	hvutil.setOption(options, 'validate',   'wd.validate');	var every = new Every(hvutil.find(options, 'every'));		$('wd.every.days') .value = every.days;	$('wd.every.hours').value = every.hours;	$('wd.every.mins') .value = every.mins;		shower.update();}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/774711041c241914e6fab3c51d9c469abad78755/view.js/buggy/web/geonetwork/scripts/harvesting/webdav/view.js