fix onselect call for prototype version, there is no link so parent must not be called