July CCXML Implementation Report: missing var in L_A.txml

Hello www-voice,

in L_A.txml, function extractCurrentDir(), variables 'i' and 'result' 
are not declared. The code should be:

	function extractCurrentDir(currUri)
	{
		var i = currUri.lastIndexOf("/");
		var result = currUri.substring(0,i+1);
		return result;
	}


Thanks,
Petr

-- 
   Petr Kuba, Project Manager
   OptimSys, s.r.o
   kuba@optimsys.cz
   Tel: +420 541 143 065
   Fax: +420 541 143 066
   http://www.optimsys.cz

Received on Monday, 26 July 2010 11:56:55 UTC