rem: var compositeDS = GetCompositeDataSource("MarkMessageFlagged"); var property = RDF.GetResource('http: 
add: var compositeDS = GetCompositeDataSource("MarkMessageFlagged"); var property = RDF.GetResource('http: 
context: function SelectedMessagesAreFlagged(){	var aMessage = GetSelectedMessage(0);	var compositeDS = GetCompositeDataSource("MarkMessageFlagged");	var property = RDF.GetResource('http://home.netscape.com/NC-rdf#Flagged');	var areMessagesFlagged = false;	if(!aMessage)		areMessagesFlagged = false;	else	{		var result = compositeDS.GetTarget(aMessage, property, true);		result = result.QueryInterface(Components.interfaces.nsIRDFLiteral);		areMessagesFlagged = (result.Value == "flagged");	}	return areMessagesFlagged;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98f8dba7b96019d33eaa1162fb11dc98138a445f/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js